mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
adjust group coloring
This commit is contained in:
parent
573aaface1
commit
307ddcc74f
2 changed files with 2 additions and 2 deletions
|
@ -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]]];
|
||||
}
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue