mirror of https://github.com/M66B/FairEmail.git
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…
Reference in New Issue