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

Commit 232cbab4 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Handles' position are updated in case of external change.

A 'Select All' for instance will alter the selection and the handles
have to updated accordingly.

Change-Id: I8ac91c858e7944a7b4ce1b37a3d90609a3003d22
parent f35ed373
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9926,6 +9926,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        }

        public void updatePosition(int parentPositionX, int parentPositionY, boolean modified) {
            positionAtCursorOffset(getCurrentCursorOffset());
            if (modified || mPositionHasChanged) {
                if (mIsDragging) {
                    // Update touchToWindow offset in case of parent scrolling while dragging