IMEState // Extend isCandidateContainer().
This commit is contained in:
parent
b33f974a00
commit
5f2fb57f91
|
@ -212,6 +212,7 @@ public extension IMEState {
|
||||||
var isCandidateContainer: Bool {
|
var isCandidateContainer: Bool {
|
||||||
switch type {
|
switch type {
|
||||||
case .ofCandidates, .ofAssociates, .ofSymbolTable: return true
|
case .ofCandidates, .ofAssociates, .ofSymbolTable: return true
|
||||||
|
case .ofInputting: return !candidates.isEmpty
|
||||||
default: return false
|
default: return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue