Permalink
Browse files

Fix bug where the statusItem wouldn't be highlighted upon selection

  • Loading branch information...
1 parent 27d473f commit 5fdfce4b369bec51d2ee17e68997fa029947ed74 @josh- josh- committed Dec 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Slate/SlateAppDelegate.m
View
@@ -475,7 +475,9 @@ - (void)awakeFromNib {
statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength: NSVariableStatusItemLength];
[statusItem setMenu:statusMenu];
- [statusItem setImage:[NSImage imageNamed:@"status"]];
+ NSImage *statusImage = [NSImage imageNamed:@"status"];
+ [statusImage setTemplate:YES];
+ [statusItem setImage:statusImage];
[statusItem setHighlightMode:YES];
// Ensure no timer exists

0 comments on commit 5fdfce4

Please sign in to comment.