Browse Source

Fixed a bug where text was not visible in black theme.

v1.2.1
Abhishek Banthia 9 years ago
parent
commit
1d5f68074e
  1. BIN
      Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate
  2. 3
      Clocker/PanelController.m
  3. 2
      Clocker/Preferences/CLPreferencesViewController.m

BIN
Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

3
Clocker/PanelController.m

@ -316,10 +316,13 @@ NSString *const CLTimezoneCellViewIdentifier = @"timeZoneCell";
[cell updateTextColorWithColor:[NSColor whiteColor] andCell:cell];
[self.mainTableview setBackgroundColor:[NSColor blackColor]];
self.window.alphaValue = 0.90;
[cell.customName setDrawsBackground:YES];
[cell.customName setBackgroundColor:[NSColor blackColor]];
}
else
{
[cell updateTextColorWithColor:[NSColor blackColor] andCell:cell];
[cell.customName setDrawsBackground:NO];
[self.mainTableview setBackgroundColor:[NSColor whiteColor]];
self.window.alphaValue = 1;
}

2
Clocker/Preferences/CLPreferencesViewController.m

@ -230,8 +230,6 @@ NSString *const CLPreferencesAvailableTimezoneIdentifier = @"availableTimezones"
self.searchField.stringValue = CLEmptyString;
[self.timezonePanel close];
self.activityInProgress = NO;
}
- (void)clearLabel

Loading…
Cancel
Save