From 6ed08e5355e9abb2265151188ad11f1c2413206b Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 5 Jun 2023 00:07:44 +0800 Subject: [PATCH] TDKCandidates // Fix an issue to draw reverse lookup results correctly. --- .../CandidateWindow/TDKCandidates/VwrCandidateTDK_SwiftUI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/vChewing_CandidateWindow/Sources/CandidateWindow/TDKCandidates/VwrCandidateTDK_SwiftUI.swift b/Packages/vChewing_CandidateWindow/Sources/CandidateWindow/TDKCandidates/VwrCandidateTDK_SwiftUI.swift index 4fee9e96..b0f6a8a9 100644 --- a/Packages/vChewing_CandidateWindow/Sources/CandidateWindow/TDKCandidates/VwrCandidateTDK_SwiftUI.swift +++ b/Packages/vChewing_CandidateWindow/Sources/CandidateWindow/TDKCandidates/VwrCandidateTDK_SwiftUI.swift @@ -297,7 +297,7 @@ extension VwrCandidateTDK { if !tooltip.isEmpty { Text(tooltip).lineLimit(1) } - if controller?.delegate?.showReverseLookupResult ?? true, !tooltip.isEmpty { + if controller?.delegate?.showReverseLookupResult ?? true, !reverseLookupResult.joined().isEmpty { reverseLookupPane.padding(0) } Spacer(minLength: 0)