summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/launcher3/views/RecyclerViewFastScroller.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/launcher3/views/RecyclerViewFastScroller.java b/src/com/android/launcher3/views/RecyclerViewFastScroller.java
index 6a8333233..b115528b5 100644
--- a/src/com/android/launcher3/views/RecyclerViewFastScroller.java
+++ b/src/com/android/launcher3/views/RecyclerViewFastScroller.java
@@ -242,12 +242,10 @@ public class RecyclerViewFastScroller extends View {
case MotionEvent.ACTION_MOVE:
mLastY = y;
- // Check if we should start scrolling, but ignore this fastscroll gesture if we have
- // exceeded some fixed movement
+ // Check if we should start scrolling
mIgnoreDragGesture |= Math.abs(y - mDownY) > mConfig.getScaledPagingTouchSlop();
if (!mIsDragging && !mIgnoreDragGesture && mRv.supportsFastScrolling() &&
- isNearThumb(mDownX, mLastY) &&
- Math.abs(y - mDownY) > mConfig.getScaledTouchSlop()) {
+ isNearThumb(mDownX, mLastY)) {
calcTouchOffsetAndPrepToFastScroll(mDownY, mLastY);
}
if (mIsDragging) {