mirror of https://github.com/M66B/FairEmail.git
Increase touch area fast scroll thumb
This commit is contained in:
parent
7054afec29
commit
4caee9b444
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue