Revert "Increase scroll thumb width"

This reverts commit 7b3ad21639.
pull/214/head
M66B 1 year ago
parent d56fd11a90
commit fbc829cb19

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

Loading…
Cancel
Save