InputHandler // Stop breaking composition buffer in certain cases.
This commit is contained in:
parent
1057a3fe82
commit
d432f36bc5
|
@ -198,7 +198,7 @@ extension InputHandler {
|
||||||
prehandling: if !skipStrokeHandling && currentLM.currentCassette.allowedKeys.contains(input.text) {
|
prehandling: if !skipStrokeHandling && currentLM.currentCassette.allowedKeys.contains(input.text) {
|
||||||
if calligrapher.isEmpty, isWildcardKeyInput {
|
if calligrapher.isEmpty, isWildcardKeyInput {
|
||||||
delegate.callError("3606B9C0")
|
delegate.callError("3606B9C0")
|
||||||
var newEmptyState = IMEState.ofEmpty()
|
var newEmptyState = compositor.isEmpty ? IMEState.ofEmpty() : generateStateOfInputting()
|
||||||
newEmptyState.tooltip = NSLocalizedString("Wildcard key cannot be the initial key.", comment: "") + " "
|
newEmptyState.tooltip = NSLocalizedString("Wildcard key cannot be the initial key.", comment: "") + " "
|
||||||
newEmptyState.data.tooltipColorState = .redAlert
|
newEmptyState.data.tooltipColorState = .redAlert
|
||||||
delegate.switchState(newEmptyState)
|
delegate.switchState(newEmptyState)
|
||||||
|
|
Loading…
Reference in New Issue