diff --git a/atom/browser/ui/tray_icon_cocoa.mm b/atom/browser/ui/tray_icon_cocoa.mm index 91c35034db2b..46a1cc6bccb5 100644 --- a/atom/browser/ui/tray_icon_cocoa.mm +++ b/atom/browser/ui/tray_icon_cocoa.mm @@ -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();