IMEState // Patch isCandidateContainer().
This commit is contained in:
parent
9756f4da2a
commit
f346ff198e
|
@ -214,8 +214,8 @@ public extension IMEState {
|
||||||
|
|
||||||
var isCandidateContainer: Bool {
|
var isCandidateContainer: Bool {
|
||||||
switch type {
|
switch type {
|
||||||
case .ofCandidates, .ofAssociates, .ofSymbolTable: return true
|
case .ofSymbolTable: return !node.members.isEmpty
|
||||||
case .ofInputting: return !candidates.isEmpty
|
case .ofCandidates, .ofAssociates, .ofInputting: return !candidates.isEmpty
|
||||||
default: return false
|
default: return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue