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