parent
86e0514291
commit
bd0dfbdc4b
|
@ -989,7 +989,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
if (charCode == 27) {
|
||||
BOOL cancelCandidateKey =
|
||||
(charCode == 27) ||
|
||||
((_inputMode == kPlainBopomofoModeIdentifier) &&
|
||||
(charCode == 8 || keyCode == kDeleteKeyCode));
|
||||
|
||||
if (cancelCandidateKey) {
|
||||
gCurrentCandidateController.visible = NO;
|
||||
[_candidates removeAllObjects];
|
||||
|
||||
|
|
Loading…
Reference in New Issue