Suppress scrollbars during layer fling.

Change-Id: Ia6bc1f48e464212d5b9cebef27e4527b0bc93713
This commit is contained in:
Patrick Scott
2010-12-13 09:20:32 -05:00
parent 4e47e716d6
commit 5b87e296c5

View File

@ -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();
awakenScrollBars(time);
// Suppress scrollbars for layer scrolling.
if (mTouchMode != TOUCH_DRAG_LAYER_MODE) {
awakenScrollBars(time);
}
invalidate();
}