Increase scroll thumb width

pull/213/head
M66B 1 year ago
parent 1d0fe2535a
commit 7b3ad21639

@ -526,7 +526,7 @@ public class FastScrollerEx extends RecyclerView.ItemDecoration implements Recyc
@VisibleForTesting
boolean isPointInsideVerticalThumb(float x, float y) {
return (isLayoutRTL() ? x <= mVerticalThumbWidth
: x >= mRecyclerViewWidth - mVerticalThumbWidth * 3)
: x >= mRecyclerViewWidth - mVerticalThumbWidth * 5)
&& y >= mVerticalThumbCenterY - mVerticalThumbHeight / 2
&& y <= mVerticalThumbCenterY + mVerticalThumbHeight / 2;
}

Loading…
Cancel
Save