mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
don't check darkmode for drawStatusBarBackgroundInRect (#12395)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user