mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Do not change logic on highlighing
This commit is contained in:
@@ -91,7 +91,8 @@ const CGFloat kVerticalTitleMargin = 2;
|
||||
CGFloat thickness = [[statusItem_ statusBar] thickness];
|
||||
|
||||
// Draw the system bar background.
|
||||
[statusItem_ drawStatusBarBackgroundInRect:self.bounds withHighlight:[self shouldHighlight]];
|
||||
[statusItem_ drawStatusBarBackgroundInRect:self.bounds
|
||||
withHighlight:[self isHighlighted]];
|
||||
|
||||
// Determine which image to use.
|
||||
NSImage* image = image_.get();
|
||||
|
||||
Reference in New Issue
Block a user