CtlCandidateTDK // Patch another issue with reverse lookup.

This commit is contained in:
ShikiSuen 2024-02-17 16:19:05 +08:00
parent b20dfec630
commit e887ba01a5
1 changed files with 2 additions and 1 deletions

View File

@ -126,9 +126,10 @@ public class CtlCandidateTDK: CtlCandidate, NSWindowDelegate {
} }
reverseLookupResult = lookupResult.compactMap { $0 } reverseLookupResult = lookupResult.compactMap { $0 }
} else { } else {
reverseLookupResult = lookupResult.compactMap { $0 }
// UNICODE // UNICODE
if !Self.thePool.isMatrix { if !Self.thePool.isMatrix {
reverseLookupResult = [lookupResult.compactMap { $0 }.first].compactMap { $0 } reverseLookupResult = [reverseLookupResult.first].compactMap { $0 }
} }
} }
} }