KeyHandler // Stop rotating candidates when compositor.isEmpty().

This commit is contained in:
ShikiSuen 2022-06-22 18:25:30 +08:00
parent 98dd14ad02
commit 00ca43ca52
1 changed files with 1 additions and 0 deletions

View File

@ -755,6 +755,7 @@ extension KeyHandler {
stateCallback: @escaping (InputState) -> Void, stateCallback: @escaping (InputState) -> Void,
errorCallback: @escaping () -> Void errorCallback: @escaping () -> Void
) -> Bool { ) -> Bool {
if composer.isEmpty && (compositor.isEmpty || walkedAnchors.isEmpty) { return false }
guard state is InputState.Inputting else { guard state is InputState.Inputting else {
guard state is InputState.Empty else { guard state is InputState.Empty else {
IME.prtDebugIntel("6044F081") IME.prtDebugIntel("6044F081")