Allows users to use left and right key to go to another candidate page in the vertical candidates list.

This fixes #61.
This commit is contained in:
zonble 2021-11-12 01:15:06 +08:00
parent 2784a0814a
commit a7627f8dc7
1 changed files with 8 additions and 2 deletions

View File

@ -1040,7 +1040,10 @@ public:
return YES;
}
else {
[self beep];
BOOL updated = [gCurrentCandidateController showPreviousPage];
if (!updated) {
[self beep];
}
[self updateClientComposingBuffer:_currentCandidateClient];
return YES;
}
@ -1055,7 +1058,10 @@ public:
return YES;
}
else {
[self beep];
BOOL updated = [gCurrentCandidateController showNextPage];
if (!updated) {
[self beep];
}
[self updateClientComposingBuffer:_currentCandidateClient];
return YES;
}