Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bad1080 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by android-build-merger
Browse files

Merge "Make scrollbar draggable only when it\'s visible." into nyc-dev am: f19e3434

am: e2a7ad6d

* commit 'e2a7ad6d':
  Make scrollbar draggable only when it's visible.
parents 099e4c04 e2a7ad6d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -10903,6 +10903,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                    return true;
                }
            case MotionEvent.ACTION_DOWN:
                if (mScrollCache.state == ScrollabilityCache.OFF) {
                    return false;
                }
                if (isOnVerticalScrollbarThumb(x, y)) {
                    mScrollCache.mScrollBarDraggingState =
                            ScrollabilityCache.DRAGGING_VERTICAL_SCROLL_BAR;