Fix controlAccentColor reference.

This commit is contained in:
Brent Simmons 2018-09-10 21:18:11 -07:00
parent 50eb09f143
commit cfaa6c1972
1 changed files with 1 additions and 1 deletions

View File

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