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 Yang 2021-11-12 01:15:06 +08:00
parent abc7e4a038
commit e6c9dba658
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;
}