diff --git a/Source/Modules/IMEState.swift b/Source/Modules/IMEState.swift index 0f96e025..897b0cd0 100644 --- a/Source/Modules/IMEState.swift +++ b/Source/Modules/IMEState.swift @@ -214,8 +214,8 @@ public extension IMEState { var isCandidateContainer: Bool { switch type { - case .ofCandidates, .ofAssociates, .ofSymbolTable: return true - case .ofInputting: return !candidates.isEmpty + case .ofSymbolTable: return !node.members.isEmpty + case .ofCandidates, .ofAssociates, .ofInputting: return !candidates.isEmpty default: return false } }