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

Commit 35c550c8 authored by Andrei Stingaceanu's avatar Andrei Stingaceanu
Browse files

Fix: text selection bubbles move along with the text

Always hide the selection cursor when showing the
insertion cursor.

Bug: 19857679
Change-Id: I549552fa5026e60f94900364b8194217e0de4b4a
parent be752b1f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1806,6 +1806,7 @@ public class Editor {
                // When the cursor moves, the word that was typed may need spell check
                mSpellChecker.onSelectionChanged();
            }

            if (!extractedTextModeWillBeStarted()) {
                if (isCursorInsideEasyCorrectionSpan()) {
                    mShowSuggestionRunnable = new Runnable() {
@@ -4113,6 +4114,10 @@ public class Editor {

        public void show() {
            getHandle().show();

            if (mSelectionModifierCursorController != null) {
                mSelectionModifierCursorController.hide();
            }
        }

        public void hide() {