From 5f2fb57f919ef239feb03fd94f94c0e97b95586d Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 14 Jun 2023 11:16:29 +0800 Subject: [PATCH] IMEState // Extend isCandidateContainer(). --- Source/Modules/IMEState.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Modules/IMEState.swift b/Source/Modules/IMEState.swift index 17910e41..7af65184 100644 --- a/Source/Modules/IMEState.swift +++ b/Source/Modules/IMEState.swift @@ -212,6 +212,7 @@ public extension IMEState { var isCandidateContainer: Bool { switch type { case .ofCandidates, .ofAssociates, .ofSymbolTable: return true + case .ofInputting: return !candidates.isEmpty default: return false } }