SessionCtl // Stop switching to certain states if not prompted to.

This commit is contained in:
ShikiSuen 2022-10-15 16:53:30 +08:00
parent 2833224fd9
commit 88b0726448
1 changed files with 1 additions and 1 deletions

View File

@ -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