mirror of
https://github.com/transmission/transmission
synced 2025-02-23 14:40:43 +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
|
- (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]]];
|
endingColor: [color blendedColorWithFraction: 0.2 ofColor: [NSColor whiteColor]]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@
|
||||||
int groupValue = [torrent groupValue];
|
int groupValue = [torrent groupValue];
|
||||||
if (groupValue != -1)
|
if (groupValue != -1)
|
||||||
[[[GroupsWindowController groupsController] gradientForIndex: groupValue] fillBezierPath:
|
[[[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
|
//error image
|
||||||
BOOL error = [torrent isError];
|
BOOL error = [torrent isError];
|
||||||
|
|
Loading…
Reference in a new issue