Voltaire // Weaken the border color for less visual distraction.
This commit is contained in:
parent
a6ddfd500b
commit
1ab378ebd2
|
@ -266,7 +266,7 @@ public class ctlCandidateHorizontal: ctlCandidate {
|
|||
|
||||
candidateView.wantsLayer = true
|
||||
candidateView.layer?.borderColor =
|
||||
NSColor.selectedMenuItemTextColor.withAlphaComponent(0.30).cgColor
|
||||
NSColor.selectedMenuItemTextColor.withAlphaComponent(0.10).cgColor
|
||||
candidateView.layer?.borderWidth = 1.0
|
||||
if #available(macOS 10.13, *) {
|
||||
candidateView.layer?.cornerRadius = 6.0
|
||||
|
|
|
@ -270,7 +270,7 @@ public class ctlCandidateVertical: ctlCandidate {
|
|||
|
||||
candidateView.wantsLayer = true
|
||||
candidateView.layer?.borderColor =
|
||||
NSColor.selectedMenuItemTextColor.withAlphaComponent(0.30).cgColor
|
||||
NSColor.selectedMenuItemTextColor.withAlphaComponent(0.10).cgColor
|
||||
candidateView.layer?.borderWidth = 1.0
|
||||
if #available(macOS 10.13, *) {
|
||||
candidateView.layer?.cornerRadius = 6.0
|
||||
|
|
Loading…
Reference in New Issue