KeyHandler // Fix a condition for handling AbsorbedArrowKey.

This commit is contained in:
ShikiSuen 2022-07-22 12:50:56 +08:00
parent ab8f7fe7a2
commit cd2baf2c4f
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ extension KeyHandler {
// MARK: AbsorbedArrowKey
if input.isAbsorbedArrowKey || input.isExtraChooseCandidateKey || input.isExtraChooseCandidateKeyReverse {
if input.isOptionHold, state.type == .ofInputting {
if input.isOptionHold, state is InputState.Inputting {
if input.isExtraChooseCandidateKey {
return handleInlineCandidateRotation(
state: state, reverseModifier: false, stateCallback: stateCallback, errorCallback: errorCallback