From 5c537d3f16aa90350cefc46e523b6a2761413484 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sun, 30 Oct 2022 17:30:05 +0800 Subject: [PATCH] InputHandler // Also allow opt+punct to reverse-flip candidates. --- Source/Modules/InputHandler_HandleCandidate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Modules/InputHandler_HandleCandidate.swift b/Source/Modules/InputHandler_HandleCandidate.swift index 72f33fb0..8442c343 100644 --- a/Source/Modules/InputHandler_HandleCandidate.swift +++ b/Source/Modules/InputHandler_HandleCandidate.swift @@ -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 }