mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix a pernicious bug with caps."
This commit is contained in:
commit
cd7422f4df
@ -178,6 +178,8 @@ public final class KeyboardState {
|
||||
if (!state.mIsAlphabetShiftLocked) {
|
||||
setShifted(state.mShiftMode);
|
||||
}
|
||||
// TODO: is this the right place to do this? Should we do this in setShift* instead?
|
||||
mSwitchActions.requestUpdatingShiftState();
|
||||
} else {
|
||||
mPrevMainKeyboardWasShiftLocked = state.mIsAlphabetShiftLocked;
|
||||
}
|
||||
|
@ -2929,6 +2929,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
return;
|
||||
}
|
||||
tryFixLyingCursorPosition();
|
||||
mKeyboardSwitcher.updateShiftState();
|
||||
if (tryResumeSuggestions) mHandler.postResumeSuggestions();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user