Skip to content

Commit

Permalink
Fixed multi-screen issue.
Browse files Browse the repository at this point in the history
Thanks to fix, who found the issue.
  • Loading branch information
lswank committed Jul 6, 2015
1 parent 2b05dbf commit 6777d24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TRTranquilityController.m
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ - (BOOL)enabled
return enabled;
}

// TODO: All of the problems are in here.
- (void)applyEnabled:(BOOL)value
{
if (statusItem)
Expand Down Expand Up @@ -762,7 +763,7 @@ - (void)setBlackColor:(NSColor*)value

- (void)modeDidChange:(int)mode
{
[self setEnabled:YES];
//[self setEnabled:YES];

// Looks as though we’re able to detect iTerm2 with mode 4
if (mode == 4)
Expand Down

0 comments on commit 6777d24

Please sign in to comment.