ctlIME // Ensure committingBufferConverted.

This commit is contained in:
ShikiSuen 2022-08-29 17:56:31 +08:00
parent 34fa183148
commit a05a92b9fb
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ extension ctlInputMethod {
ctlInputMethod.ctlCandidateCurrent.visible = false ctlInputMethod.ctlCandidateCurrent.visible = false
ctlInputMethod.tooltipController.hide() ctlInputMethod.tooltipController.hide()
if let previous = previous as? InputState.NotEmpty { if let previous = previous as? InputState.NotEmpty {
commit(text: previous.composingBuffer) commit(text: previous.committingBufferConverted)
} }
clearInlineDisplay() clearInlineDisplay()
// //
@ -145,7 +145,7 @@ extension ctlInputMethod {
if let previous = previous as? InputState.NotEmpty, if let previous = previous as? InputState.NotEmpty,
!(state is InputState.EmptyIgnoringPreviousState) !(state is InputState.EmptyIgnoringPreviousState)
{ {
commit(text: previous.composingBuffer) commit(text: previous.committingBufferConverted)
} }
// //
ctlInputMethod.ctlCandidateCurrent.visible = false ctlInputMethod.ctlCandidateCurrent.visible = false