From 1ef87cdb54a4e6dc4ff4beb017b8c6486d34ef5f Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 20 Mar 2010 05:16:03 +0000 Subject: [PATCH] hide the progress bar when selecting row in compact view --- macosx/TorrentCell.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index a35ecd680..982512910 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -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];