From a5fa879441f4f3a942b7469eda15fc2337151e64 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sun, 4 Sep 2022 18:46:07 +0800 Subject: [PATCH] KeyHandler // Do not call symbol menu if IME is deactivated. --- Source/Modules/ControllerModules/KeyHandler_HandleInput.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift b/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift index ebcb3ff4..e82f1445 100644 --- a/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift +++ b/Source/Modules/ControllerModules/KeyHandler_HandleInput.swift @@ -277,7 +277,7 @@ extension KeyHandler { // MARK: Punctuation list - if input.isSymbolMenuPhysicalKey, !input.isShiftHold, !input.isControlHold { + if input.isSymbolMenuPhysicalKey, !input.isShiftHold, !input.isControlHold, state.type != .ofDeactivated { if input.isOptionHold { if currentLM.hasUnigramsFor(key: "_punctuation_list") { if composer.isEmpty {