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

Commit 9776ed7b authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "scroll relative to visibleRect in spawnContentScrollTo()"

parents aa6816a8 16e25e6a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4176,9 +4176,9 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
            // is used in the view system.
            return;
        }
        int vx = contentToViewX(cx);
        int vy = contentToViewY(cy);
        pinScrollTo(vx, vy, true, 0);
        int vx = contentToViewDimension(cx - mScrollOffset.x);
        int vy = contentToViewDimension(cy - mScrollOffset.y);
        pinScrollBy(vx, vy, true, 0);
    }

    /**