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