From 2ff68bf7cdf45050dcc75a2e3a0fb19a7edab2ef Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Fri, 27 Sep 2024 18:15:12 +0300 Subject: [PATCH] Fix bug causing cursor being moved upon selecting a word --- java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java b/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java index 57693993c..60a8a4408 100644 --- a/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java @@ -439,6 +439,7 @@ public final class InputLogic { // The cursor has been moved : we now accept to perform recapitalization mRecapitalizeStatus.enable(); // We moved the cursor. If we are touching a word, we need to resume suggestion. + mIsAutoCorrectionIndicatorOn = false; mLatinIMELegacy.mHandler.postResumeSuggestions(true /* shouldDelay */); // Stop the last recapitalization, if started. mRecapitalizeStatus.stop();