ctlIME // Confirm keyHandler.clear when handling certain states.
This commit is contained in:
parent
5aa1729bd1
commit
02e312d3f4
|
@ -131,6 +131,8 @@ extension ctlInputMethod {
|
|||
commit(text: previous.composingBuffer)
|
||||
}
|
||||
clearInlineDisplay()
|
||||
// 最後一道保險
|
||||
keyHandler.clear()
|
||||
}
|
||||
|
||||
private func handle(state: InputState.Empty, previous: InputStateProtocol) {
|
||||
|
@ -147,6 +149,8 @@ extension ctlInputMethod {
|
|||
ctlInputMethod.ctlCandidateCurrent.visible = false
|
||||
ctlInputMethod.tooltipController.hide()
|
||||
clearInlineDisplay()
|
||||
// 最後一道保險
|
||||
keyHandler.clear()
|
||||
}
|
||||
|
||||
private func handle(
|
||||
|
@ -167,6 +171,8 @@ extension ctlInputMethod {
|
|||
commit(text: textToCommit)
|
||||
}
|
||||
clearInlineDisplay()
|
||||
// 最後一道保險
|
||||
keyHandler.clear()
|
||||
}
|
||||
|
||||
private func handle(state: InputState.Inputting, previous: InputStateProtocol) {
|
||||
|
|
Loading…
Reference in New Issue