fix tray highlight in darkmode (#12398)

This commit is contained in:
Shelley Vohr
2018-03-21 22:59:50 -04:00
committed by Samuel Attard
parent 283ab23524
commit 35976a0a07

View File

@@ -98,7 +98,7 @@ const CGFloat kVerticalTitleMargin = 2;
// Draw the system bar background.
[statusItem_ drawStatusBarBackgroundInRect:self.bounds
withHighlight:[self isHighlighted]];
withHighlight:[self shouldHighlight]];
// Determine which image to use.
NSImage* image = image_.get();