Merge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2
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