IMEState // Extend isCandidateContainer().
This commit is contained in:
parent
b33f974a00
commit
5f2fb57f91
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue