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

Commit f19e3434 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android (Google) Code Review
Browse files

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

parents afe3cd1a 95589569
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;