KeyHandler // Fix wrong callbacks in handleDelete() in v1.5.1 update.
This commit is contained in:
parent
f31373a104
commit
f445462026
|
@ -376,7 +376,7 @@ extension KeyHandler {
|
|||
walk()
|
||||
let inputting = buildInputtingState()
|
||||
// 這裡不用「count > 0」,因為該整數變數只要「!isEmpty」那就必定滿足這個條件。
|
||||
if !inputting.composingBuffer.isEmpty {
|
||||
if inputting.composingBuffer.isEmpty {
|
||||
stateCallback(InputState.EmptyIgnoringPreviousState())
|
||||
} else {
|
||||
stateCallback(inputting)
|
||||
|
|
Loading…
Reference in New Issue