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

Commit fdbc5ee7 authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Fix Editor ActionMode content rectangle

We have made a mistake in a previous change and change the single cursor
selection bounds in a wrong way. 

Test: atest CtsWidgetTestCases:TextViewTest
Bug: 72244890
Change-Id: Ie597ff5a9f82e04d673534e35c49da513132cd5b
parent bcaeb104
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4186,7 +4186,7 @@ public class Editor {
                        primaryHorizontal,
                        layout.getLineTop(line),
                        primaryHorizontal,
                        layout.getLineBottom(line) - layout.getLineBottom(line) + mHandleHeight);
                        layout.getLineBottom(line) + mHandleHeight);
            }
            // Take TextView's padding and scroll into account.
            int textHorizontalOffset = mTextView.viewportToContentHorizontalOffset();