Skip to content
Snippets Groups Projects
Commit 4132f4cd authored by George Nachman's avatar George Nachman
Browse files

Make selected colored tab box more subtle

parent 8cb0a7d1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -584,7 +584,7 @@ static CGFloat PerceivedBrightness(CGFloat r, CGFloat g, CGFloat b) {
 
NSColor *outerColor;
NSColor *innerColor;
const CGFloat alpha = [_tabBar.window isKeyWindow] ? 1 : 0.5;
const CGFloat alpha = [_tabBar.window isKeyWindow] ? 0.7 : 0.5;
if (brightness > 0.5) {
outerColor = [NSColor colorWithWhite:1 alpha:alpha];
innerColor = [NSColor colorWithWhite:0 alpha:alpha];
Loading
Loading
Loading
Loading
@@ -92,7 +92,6 @@ static NSString *kListWindowsFormat = @"\"#{session_name}\t#{window_id}\t"
NSString *customDirectoryArgument = [NSString stringWithFormat:@"-c '%@'", escapedCustomDirectory];
args = [args arrayByAddingObject:customDirectoryArgument];
}
return [args componentsJoinedByString:@" "];
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment