adjust group coloring

This commit is contained in:
Mitchell Livingston 2007-12-18 18:42:42 +00:00
parent 573aaface1
commit 307ddcc74f
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
- (CTGradient *) gradientForColor: (NSColor *) color
{
return [CTGradient gradientWithBeginningColor: [color blendedColorWithFraction: 0.7 ofColor: [NSColor whiteColor]]
return [CTGradient gradientWithBeginningColor: [color blendedColorWithFraction: 0.65 ofColor: [NSColor whiteColor]]
endingColor: [color blendedColorWithFraction: 0.2 ofColor: [NSColor whiteColor]]];
}

View File

@ -213,7 +213,7 @@
int groupValue = [torrent groupValue];
if (groupValue != -1)
[[[GroupsWindowController groupsController] gradientForIndex: groupValue] fillBezierPath:
[NSBezierPath bezierPathWithRoundedRect: NSInsetRect(iconRect, -2.0, -2.0) radius: 6.0] angle: 90.0];
[NSBezierPath bezierPathWithRoundedRect: NSInsetRect(iconRect, -2.0, minimal ? -3.0 : -2.0) radius: 6.0] angle: 90.0];
//error image
BOOL error = [torrent isError];