InputHandler // Lower the priority of handling `%quick`.
This commit is contained in:
parent
86e86eedaf
commit
adc4d918c6
|
@ -146,10 +146,6 @@ extension InputHandler {
|
||||||
return handleHaninKeyboardSymbolModeToggle()
|
return handleHaninKeyboardSymbolModeToggle()
|
||||||
}
|
}
|
||||||
|
|
||||||
// 處理 `%quick` 選字行為。
|
|
||||||
let quickCandidates: Bool = state.type == .ofInputting && state.isCandidateContainer
|
|
||||||
guard !(quickCandidates && handleCandidate(input: input)) else { return true }
|
|
||||||
|
|
||||||
// 注音按鍵輸入與漢音鍵盤符號輸入處理。
|
// 注音按鍵輸入與漢音鍵盤符號輸入處理。
|
||||||
if isHaninKeyboardSymbolMode, [[], .shift].contains(input.modifierFlags) {
|
if isHaninKeyboardSymbolMode, [[], .shift].contains(input.modifierFlags) {
|
||||||
return handleHaninKeyboardSymbolModeInput(input: input)
|
return handleHaninKeyboardSymbolModeInput(input: input)
|
||||||
|
@ -157,6 +153,10 @@ extension InputHandler {
|
||||||
return compositionHandled
|
return compositionHandled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 處理 `%quick` 選字行為。
|
||||||
|
let quickCandidates: Bool = state.type == .ofInputting && state.isCandidateContainer
|
||||||
|
guard !(quickCandidates && handleCandidate(input: input)) else { return true }
|
||||||
|
|
||||||
// 手動呼叫選字窗。
|
// 手動呼叫選字窗。
|
||||||
if callCandidateState(input: input) { return true }
|
if callCandidateState(input: input) { return true }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue