Do not change logic on highlighing
This commit is contained in:
parent
d1ebce0395
commit
0dc094fffc
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ const CGFloat kVerticalTitleMargin = 2;
|
||||||
CGFloat thickness = [[statusItem_ statusBar] thickness];
|
CGFloat thickness = [[statusItem_ statusBar] thickness];
|
||||||
|
|
||||||
// Draw the system bar background.
|
// Draw the system bar background.
|
||||||
[statusItem_ drawStatusBarBackgroundInRect:self.bounds withHighlight:[self shouldHighlight]];
|
[statusItem_ drawStatusBarBackgroundInRect:self.bounds
|
||||||
|
withHighlight:[self isHighlighted]];
|
||||||
|
|
||||||
// Determine which image to use.
|
// Determine which image to use.
|
||||||
NSImage* image = image_.get();
|
NSImage* image = image_.get();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue