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

Commit ab700201 authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Fix caret handle offset"

parents 275784f2 9ab695be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4560,8 +4560,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(),