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
|
||||
// strange behavior if we don't do this, "thinking" the key is not
|
||||
// actually consumed)
|
||||
if ([state isKindOfClass:[InputStateNotEmpty class]] || !_bpmfReadingBuffer->isEmpty()) {
|
||||
[IME prtDebugIntel:@"A9BFF20E"];
|
||||
errorCallback();
|
||||
stateCallback(state);
|
||||
return YES;
|
||||
}
|
||||
// actually consumed) // 下面這幾行反而會製造問題,所以威注音禁用之。
|
||||
// if ([state isKindOfClass:[InputStateNotEmpty class]] || !_bpmfReadingBuffer->isEmpty()) {
|
||||
// [IME prtDebugIntel:@"A9BFF20E"];
|
||||
// errorCallback();
|
||||
// stateCallback(state);
|
||||
// return YES;
|
||||
// }
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue