IMEState // Patch isCandidateContainer().

This commit is contained in:
ShikiSuen 2023-06-24 18:08:32 +08:00
parent 9756f4da2a
commit f346ff198e
1 changed files with 2 additions and 2 deletions

View File

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