From 88b0726448ddf8a3c491168682cdbd67659e18f2 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sat, 15 Oct 2022 16:53:30 +0800 Subject: [PATCH] SessionCtl // Stop switching to certain states if not prompted to. --- Source/Modules/SessionCtl_HandleStates.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/SessionCtl_HandleStates.swift b/Source/Modules/SessionCtl_HandleStates.swift index 159df69e..3cf70906 100644 --- a/Source/Modules/SessionCtl_HandleStates.swift +++ b/Source/Modules/SessionCtl_HandleStates.swift @@ -68,7 +68,7 @@ extension SessionCtl { if replace { state = previous } case .ofCommitting: commit(text: newState.textToCommit) - state = IMEState.ofEmpty() + if replace { state = IMEState.ofEmpty() } default: break innerCircle } ctlCandidateCurrent.visible = false