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

Commit 5b87e296 authored by Patrick Scott's avatar Patrick Scott
Browse files

Suppress scrollbars during layer fling.

Change-Id: Ia6bc1f48e464212d5b9cebef27e4527b0bc93713
parent 4e47e716
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -6248,7 +6248,12 @@ public class WebView extends AbsoluteLayout
        // resumes during this effect we will take a performance hit. See computeScroll;
        // we resume webcore there when the animation is finished.
        final int time = mScroller.getDuration();

        // Suppress scrollbars for layer scrolling.
        if (mTouchMode != TOUCH_DRAG_LAYER_MODE) {
            awakenScrollBars(time);
        }

        invalidate();
    }