mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
tweak the inspector button gradient
This commit is contained in:
@@ -73,8 +73,8 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
NSColor * lightColor = [NSColor colorWithCalibratedRed: 255.0/255.0 green: 255.0/255.0 blue: 255.0/255.0 alpha: 1.0];
|
||||
NSColor * darkColor = [NSColor colorWithCalibratedRed: 225.0/255.0 green: 225.0/255.0 blue: 225.0/255.0 alpha: 1.0];
|
||||
NSColor * lightColor = [NSColor colorWithCalibratedRed: 245.0/255.0 green: 245.0/255.0 blue: 245.0/255.0 alpha: 1.0];
|
||||
NSColor * darkColor = [NSColor colorWithCalibratedRed: 215.0/255.0 green: 215.0/255.0 blue: 215.0/255.0 alpha: 1.0];
|
||||
NSGradient * gradient = [[NSGradient alloc] initWithStartingColor: lightColor endingColor: darkColor];
|
||||
[gradient drawInRect: tabRect angle: 270.0];
|
||||
[gradient release];
|
||||
|
||||
Reference in New Issue
Block a user