KeyHandler // Remove a cumbersome & problematic condition.
This commit is contained in:
parent
3eb3f4af92
commit
876c8ccd01
|
@ -594,13 +594,13 @@ static NSString *const kGraphVizOutputfile = @"/tmp/vChewing-visualization.dot";
|
||||||
|
|
||||||
// still nothing, then we update the composing buffer (some app has
|
// still nothing, then we update the composing buffer (some app has
|
||||||
// strange behavior if we don't do this, "thinking" the key is not
|
// strange behavior if we don't do this, "thinking" the key is not
|
||||||
// actually consumed)
|
// actually consumed) // 下面這幾行反而會製造問題,所以威注音禁用之。
|
||||||
if ([state isKindOfClass:[InputStateNotEmpty class]] || !_bpmfReadingBuffer->isEmpty()) {
|
// if ([state isKindOfClass:[InputStateNotEmpty class]] || !_bpmfReadingBuffer->isEmpty()) {
|
||||||
[IME prtDebugIntel:@"A9BFF20E"];
|
// [IME prtDebugIntel:@"A9BFF20E"];
|
||||||
errorCallback();
|
// errorCallback();
|
||||||
stateCallback(state);
|
// stateCallback(state);
|
||||||
return YES;
|
// return YES;
|
||||||
}
|
// }
|
||||||
|
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue