fix: tray title not inverting when highlighted (#13085)
This commit is contained in:
parent
83dc8cc13b
commit
ef1e2d6fe0
1 changed files with 5 additions and 0 deletions
|
@ -403,6 +403,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:
|
||||
|
|
Loading…
Reference in a new issue