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 committed by Lukhnos Liu
parent 453d69201e
commit 164705e6f3
1 changed files with 8 additions and 2 deletions

View File

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