mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
hide the progress bar when selecting row in compact view
This commit is contained in:
parent
a075653c67
commit
1ef87cdb54
1 changed files with 3 additions and 1 deletions
|
@ -112,6 +112,7 @@
|
|||
[paragraphStyle release];
|
||||
|
||||
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];
|
||||
}
|
||||
return self;
|
||||
|
@ -326,7 +327,8 @@
|
|||
const BOOL minimal = [fDefaults boolForKey: @"SmallView"];
|
||||
|
||||
//bar
|
||||
[self drawBar: [self barRectForBounds: cellFrame]];
|
||||
if (!minimal || [self backgroundStyle] != NSBackgroundStyleDark)
|
||||
[self drawBar: [self barRectForBounds: cellFrame]];
|
||||
|
||||
//group coloring
|
||||
const NSRect iconRect = [self iconRectForBounds: cellFrame];
|
||||
|
|
Loading…
Reference in a new issue