IMEState // Extend isCandidateContainer().

This commit is contained in:
ShikiSuen 2023-06-14 11:16:29 +08:00
parent b33f974a00
commit 5f2fb57f91
1 changed files with 1 additions and 0 deletions

View File

@ -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
}
}