From 7b3ad21639a2fa93977d0909f9f470980e3fa646 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 30 Aug 2023 15:14:42 +0200 Subject: [PATCH] Increase scroll thumb width --- .../main/java/androidx/recyclerview/widget/FastScrollerEx.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/androidx/recyclerview/widget/FastScrollerEx.java b/app/src/main/java/androidx/recyclerview/widget/FastScrollerEx.java index c4efb3e2fb..c8a1d4a373 100644 --- a/app/src/main/java/androidx/recyclerview/widget/FastScrollerEx.java +++ b/app/src/main/java/androidx/recyclerview/widget/FastScrollerEx.java @@ -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; }