am c1830a77
: Merge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2
* commit 'c1830a77a7fe0f1ccd52f405cb076d40fe085e2f': Improve browser scrolling when using the mouse wheel.
This commit is contained in:
@ -6215,7 +6215,7 @@ public class WebView extends AbsoluteLayout
|
||||
if (hscroll != 0 || vscroll != 0) {
|
||||
final int vdelta = (int) (vscroll * getVerticalScrollFactor());
|
||||
final int hdelta = (int) (hscroll * getHorizontalScrollFactor());
|
||||
if (pinScrollBy(hdelta, vdelta, true, 0)) {
|
||||
if (pinScrollBy(hdelta, vdelta, false, 0)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user