don't check darkmode for drawStatusBarBackgroundInRect (#12395)

This commit is contained in:
Shelley Vohr 2018-03-21 19:03:57 -04:00 committed by GitHub
parent 0d7becff87
commit 05dc04dacc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();