Voltaire // Weaken the border color for less visual distraction.

This commit is contained in:
ShikiSuen 2022-05-29 09:37:40 +08:00
parent a6ddfd500b
commit 1ab378ebd2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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