diff options
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/view/FastScroller.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/view/FastScroller.java b/app/src/main/java/github/daneren2005/dsub/view/FastScroller.java index 07f899ed..1ac809fd 100644 --- a/app/src/main/java/github/daneren2005/dsub/view/FastScroller.java +++ b/app/src/main/java/github/daneren2005/dsub/view/FastScroller.java @@ -88,8 +88,10 @@ public class FastScroller extends LinearLayout { switch(action) { case MotionEvent.ACTION_DOWN: - if(event.getX()<handle.getX()) + if(event.getX() < (handle.getX() - 20)) { return false; + } + if(currentAnimator != null) currentAnimator.cancel(); if(bubble.getVisibility() == INVISIBLE) { |