TDKCandidates // Fix theme color opacity in macOS 11 and 10.15.
This commit is contained in:
parent
7c1dce393d
commit
310ec10cf6
|
@ -96,6 +96,7 @@ public struct VwrCandidateHorizontalBackports: View {
|
||||||
if tooltip.isEmpty {
|
if tooltip.isEmpty {
|
||||||
Color(white: colorScheme == .dark ? 0.2 : 0.9)
|
Color(white: colorScheme == .dark ? 0.2 : 0.9)
|
||||||
} else {
|
} else {
|
||||||
|
Color(white: colorScheme == .dark ? 0.0 : 1)
|
||||||
controller.highlightedColorUIBackports
|
controller.highlightedColorUIBackports
|
||||||
}
|
}
|
||||||
HStack(alignment: .bottom) {
|
HStack(alignment: .bottom) {
|
||||||
|
|
|
@ -101,6 +101,7 @@ public struct VwrCandidateVerticalBackports: View {
|
||||||
if tooltip.isEmpty {
|
if tooltip.isEmpty {
|
||||||
Color(white: colorScheme == .dark ? 0.2 : 0.9)
|
Color(white: colorScheme == .dark ? 0.2 : 0.9)
|
||||||
} else {
|
} else {
|
||||||
|
Color(white: colorScheme == .dark ? 0.0 : 1)
|
||||||
controller.highlightedColorUIBackports
|
controller.highlightedColorUIBackports
|
||||||
}
|
}
|
||||||
HStack(alignment: .bottom) {
|
HStack(alignment: .bottom) {
|
||||||
|
|
Loading…
Reference in New Issue