TDKCandidates // Fix theme color opacity in macOS 11 and 10.15.

This commit is contained in:
ShikiSuen 2022-10-11 18:24:50 +08:00
parent 7c1dce393d
commit 310ec10cf6
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ public struct VwrCandidateHorizontalBackports: View {
if tooltip.isEmpty {
Color(white: colorScheme == .dark ? 0.2 : 0.9)
} else {
Color(white: colorScheme == .dark ? 0.0 : 1)
controller.highlightedColorUIBackports
}
HStack(alignment: .bottom) {

View File

@ -101,6 +101,7 @@ public struct VwrCandidateVerticalBackports: View {
if tooltip.isEmpty {
Color(white: colorScheme == .dark ? 0.2 : 0.9)
} else {
Color(white: colorScheme == .dark ? 0.0 : 1)
controller.highlightedColorUIBackports
}
HStack(alignment: .bottom) {