Revert "Increase scroll thumb width"

This reverts commit 7b3ad21639.
This commit is contained in:
M66B 2023-10-11 17:29:02 +02:00
parent d56fd11a90
commit fbc829cb19
1 changed files with 1 additions and 1 deletions

View File

@ -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 * 5)
: x >= mRecyclerViewWidth - mVerticalThumbWidth * 3)
&& y >= mVerticalThumbCenterY - mVerticalThumbHeight / 2
&& y <= mVerticalThumbCenterY + mVerticalThumbHeight / 2;
}