InputHandler // Also allow opt+punct to reverse-flip candidates.

This commit is contained in:
ShikiSuen 2022-10-30 17:30:05 +08:00
parent 6037f6e90c
commit 5c537d3f16
1 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,8 @@ extension InputHandler {
if input.isSymbolMenuPhysicalKey {
var updated = true
updated = input.isShiftHold ? ctlCandidate.showPreviousLine() : ctlCandidate.showNextLine()
let reverseTrigger = input.isShiftHold || input.isOptionHold
updated = reverseTrigger ? ctlCandidate.showPreviousLine() : ctlCandidate.showNextLine()
if !updated { delegate.callError("66F3477B") }
return true
}