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

Commit e2a7ad6d 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

* commit 'f19e3434':
  Make scrollbar draggable only when it's visible.
parents 37e394e7 f19e3434
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;