From f346ff198ef5950aaa47cebd4d80c0843507ce55 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sat, 24 Jun 2023 18:08:32 +0800 Subject: [PATCH] IMEState // Patch isCandidateContainer(). --- Source/Modules/IMEState.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }