mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Increase touch area fast scroll thumb
This commit is contained in:
@@ -497,7 +497,7 @@ public class FastScrollerEx extends RecyclerView.ItemDecoration implements Recyc
|
||||
@VisibleForTesting
|
||||
boolean isPointInsideVerticalThumb(float x, float y) {
|
||||
return (isLayoutRTL() ? x <= mVerticalThumbWidth
|
||||
: x >= mRecyclerViewWidth - mVerticalThumbWidth)
|
||||
: x >= mRecyclerViewWidth - mVerticalThumbWidth * 3)
|
||||
&& y >= mVerticalThumbCenterY - mVerticalThumbHeight / 2
|
||||
&& y <= mVerticalThumbCenterY + mVerticalThumbHeight / 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user