mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix tray highlight in darkmode (#12398)
This commit is contained in:
committed by
Samuel Attard
parent
283ab23524
commit
35976a0a07
@@ -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