KeyHandler // Fix a behavior issue with TDKCandidates.

This commit is contained in:
ShikiSuen 2022-09-30 13:29:07 +08:00
parent b286f23c69
commit 50bddf2f83
1 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ extension KeyHandler {
let updated: Bool =
prefs.specifyShiftTabKeyBehavior
? (input.isShiftHold
? ctlCandidate.showPreviousPage()
: ctlCandidate.showNextPage())
? ctlCandidate.showPreviousLine()
: ctlCandidate.showNextLine())
: (input.isShiftHold
? ctlCandidate.highlightPreviousCandidate()
: ctlCandidate.highlightNextCandidate())
@ -92,9 +92,9 @@ extension KeyHandler {
prefs.specifyShiftSpaceKeyBehavior
? (input.isShiftHold
? ctlCandidate.highlightNextCandidate()
: ctlCandidate.showNextPage())
: ctlCandidate.showNextLine())
: (input.isShiftHold
? ctlCandidate.showNextPage()
? ctlCandidate.showNextLine()
: ctlCandidate.highlightNextCandidate())
if !updated {
errorCallback("A11C781F")