KeyHandler // Change the condition whether Tab can call candidate list.

This commit is contained in:
ShikiSuen 2022-05-30 16:07:40 +08:00
parent 5800ddea91
commit 46a58e9e46
1 changed files with 2 additions and 2 deletions

View File

@ -237,11 +237,11 @@ extension KeyHandler {
return true
}
// MARK: Calling candidate window using Space or Down or PageUp / PageDn.
// MARK: Calling candidate window using Up / Down or PageUp / PageDn.
if let currentState = state as? InputState.NotEmpty, _composer.isEmpty,
input.isExtraChooseCandidateKey || input.isExtraChooseCandidateKeyReverse || input.isSpace
|| input.isPageDown || input.isPageUp || input.isTab
|| input.isPageDown || input.isPageUp || (input.isTab && mgrPrefs.specifyShiftTabKeyBehavior)
|| (input.useVerticalMode && (input.isVerticalModeOnlyChooseCandidateKey))
{
if input.isSpace {