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

Commit 9ab695be authored by George Mount's avatar George Mount
Browse files

Fix caret handle offset

 Bug 6614416

Change-Id: I610b0ac564a2e936731d36c7f7b0ee1bb9be6a99
parent a6bd6813
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4546,8 +4546,8 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        if (mSelectingText) {
            if (mIsCaretSelection) {
                // Caret handle is centered
                int x = contentToViewDimension(mSelectCursorBase.x -
                        (mSelectHandleCenter.getIntrinsicWidth() / 2));
                int x = contentToViewDimension(mSelectCursorBase.x) -
                        (mSelectHandleCenter.getIntrinsicWidth() / 2);
                int y = contentToViewDimension(mSelectCursorBase.y);
                mSelectHandleBaseBounds.set(x, y,
                        x + mSelectHandleCenter.getIntrinsicWidth(),