From 00ca43ca5205275ce982d474d886b05a580f422f Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 22 Jun 2022 18:25:30 +0800 Subject: [PATCH] KeyHandler // Stop rotating candidates when compositor.isEmpty(). --- Source/Modules/ControllerModules/KeyHandler_States.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Modules/ControllerModules/KeyHandler_States.swift b/Source/Modules/ControllerModules/KeyHandler_States.swift index c3ef1ee2..f40b4762 100644 --- a/Source/Modules/ControllerModules/KeyHandler_States.swift +++ b/Source/Modules/ControllerModules/KeyHandler_States.swift @@ -755,6 +755,7 @@ extension KeyHandler { stateCallback: @escaping (InputState) -> Void, errorCallback: @escaping () -> Void ) -> Bool { + if composer.isEmpty && (compositor.isEmpty || walkedAnchors.isEmpty) { return false } guard state is InputState.Inputting else { guard state is InputState.Empty else { IME.prtDebugIntel("6044F081")