Fix typo preventing layers from scrolling to top
Bug: 6215597 Change-Id: Ie58e3aef29444d1c8dea424953d1b8e71ddf770b
This commit is contained in:
@@ -3877,7 +3877,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
private void scrollLayerTo(int x, int y) {
|
||||
int dx = mScrollingLayerRect.left - x;
|
||||
int dy = mScrollingLayerRect.top - y;
|
||||
if (dx == 0 && y == 0) {
|
||||
if (dx == 0 && dy == 0) {
|
||||
return;
|
||||
}
|
||||
if (mSelectingText) {
|
||||
|
||||
Reference in New Issue
Block a user