1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

use the lighter bottom line of the filter bar when the window is inactive

This commit is contained in:
Mitchell Livingston 2010-12-21 03:32:33 +00:00
parent 8b8ec60007
commit f99fe83e16

View file

@ -104,8 +104,7 @@
if (NSIntersectsRect(lineBorderRect, rect))
{
gridRects[count] = lineBorderRect;
colorRects[count] = [[self window] isMainWindow] ? [NSColor colorWithCalibratedWhite: 0.65 alpha: 1.0]
: [NSColor colorWithCalibratedWhite: 0.5 alpha: 1.0];
colorRects[count] = [NSColor colorWithCalibratedWhite: 0.65 alpha: 1.0];
++count;
rect.origin.y += 1.0;