1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

hide the progress bar when selecting row in compact view

This commit is contained in:
Mitchell Livingston 2010-03-20 05:16:03 +00:00
parent a075653c67
commit 1ef87cdb54

View file

@ -112,6 +112,7 @@
[paragraphStyle release]; [paragraphStyle release];
fBluePieceColor = [[NSColor colorWithCalibratedRed: 0.0 green: 0.4 blue: 0.8 alpha: 1.0] retain]; fBluePieceColor = [[NSColor colorWithCalibratedRed: 0.0 green: 0.4 blue: 0.8 alpha: 1.0] retain];
#warning show border in compact view
fBarBorderColor = [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.2] retain]; fBarBorderColor = [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.2] retain];
} }
return self; return self;
@ -326,6 +327,7 @@
const BOOL minimal = [fDefaults boolForKey: @"SmallView"]; const BOOL minimal = [fDefaults boolForKey: @"SmallView"];
//bar //bar
if (!minimal || [self backgroundStyle] != NSBackgroundStyleDark)
[self drawBar: [self barRectForBounds: cellFrame]]; [self drawBar: [self barRectForBounds: cellFrame]];
//group coloring //group coloring