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()
|
walk()
|
||||||
let inputting = buildInputtingState()
|
let inputting = buildInputtingState()
|
||||||
// 這裡不用「count > 0」,因為該整數變數只要「!isEmpty」那就必定滿足這個條件。
|
// 這裡不用「count > 0」,因為該整數變數只要「!isEmpty」那就必定滿足這個條件。
|
||||||
if !inputting.composingBuffer.isEmpty {
|
if inputting.composingBuffer.isEmpty {
|
||||||
stateCallback(InputState.EmptyIgnoringPreviousState())
|
stateCallback(InputState.EmptyIgnoringPreviousState())
|
||||||
} else {
|
} else {
|
||||||
stateCallback(inputting)
|
stateCallback(inputting)
|
||||||
|
|
Loading…
Reference in New Issue