fix: tray title not inverting when highlighted (#13262)

This commit is contained in:
trop[bot]
2018-06-16 11:59:46 -05:00
committed by Charles Kerr
parent 311f7ac6bb
commit cfa247967f

View File

@@ -389,6 +389,11 @@ const CGFloat kVerticalTitleMargin = 2;
return YES;
}
- (void)setNeedsDisplay:(BOOL)display {
[self updateAttributedTitle];
[super setNeedsDisplay:display];
}
- (BOOL)shouldHighlight {
switch (highlight_mode_) {
case atom::TrayIcon::HighlightMode::ALWAYS: