Fix controlAccentColor reference.
This commit is contained in:
parent
50eb09f143
commit
cfaa6c1972
|
@ -38,7 +38,7 @@ class UnreadIndicatorView: NSView {
|
|||
override func draw(_ dirtyRect: NSRect) {
|
||||
|
||||
if #available(OSX 10.14, *) {
|
||||
let color = isEmphasized && isSelected ? NSColor.white : NSColor.controlAccent
|
||||
let color = isEmphasized && isSelected ? NSColor.white : NSColor.controlAccentColor
|
||||
color.setFill()
|
||||
} else {
|
||||
let color = isEmphasized && isSelected ? NSColor.white : NSColor.systemBlue
|
||||
|
|
Loading…
Reference in New Issue