From a53da4cdab49eeb736918ff19438bfdd1422ef8f Mon Sep 17 00:00:00 2001 From: michael starke Date: Mon, 18 Aug 2014 16:32:24 +0200 Subject: [PATCH] Changed to a reasonable color in history browser --- MacPass/MPContextBarViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MacPass/MPContextBarViewController.m b/MacPass/MPContextBarViewController.m index 18896fef..fe08badd 100644 --- a/MacPass/MPContextBarViewController.m +++ b/MacPass/MPContextBarViewController.m @@ -57,8 +57,7 @@ typedef NS_ENUM(NSUInteger, MPContextTab) { - (void)awakeFromNib { [[self.filterLabelTextField cell] setBackgroundStyle:NSBackgroundStyleRaised]; - - self.historyBar.activeGradient = [[NSGradient alloc] initWithStartingColor:[NSColor redColor] endingColor:[NSColor greenColor]]; + self.historyBar.activeGradient = [[NSGradient alloc] initWithStartingColor:[[NSColor orangeColor] shadowWithLevel:0.2] endingColor:[[NSColor orangeColor] highlightWithLevel:0.2]]; NSArray *activeColors = @[[NSColor colorWithCalibratedWhite:0.2 alpha:1],[NSColor colorWithCalibratedWhite:0.4 alpha:1]]; NSArray *inactiveColors = @[[NSColor colorWithCalibratedWhite:0.3 alpha:1],[NSColor colorWithCalibratedWhite:0.6 alpha:1]];