mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Don't deactivate the LastComposedWord on shift" into jb-dev
This commit is contained in:
commit
71b047e301
@ -1298,8 +1298,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
break;
|
||||
}
|
||||
switcher.onCodeInput(primaryCode);
|
||||
// Reset after any single keystroke
|
||||
if (!didAutoCorrect)
|
||||
// Reset after any single keystroke, except shift and symbol-shift
|
||||
if (!didAutoCorrect && primaryCode != Keyboard.CODE_SHIFT
|
||||
&& primaryCode != Keyboard.CODE_SWITCH_ALPHA_SYMBOL)
|
||||
mLastComposedWord.deactivate();
|
||||
mEnteredText = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user