Opened 12 years ago

Closed 12 years ago

#2116 closed Bug (wontfix)

TorrentCell should not draw the pieces bar for completed downloads

Reported by: alfwatt Owned by: livings124
Priority: Normal Milestone: None Set
Component: Mac Client Version: 1.61+
Severity: Minor Keywords:
Cc:

Description

Index: macosx/TorrentCell.m =================================================================== --- macosx/TorrentCell.m (revision 8542) +++ macosx/TorrentCell.m (working copy) @@ -560,7 +560,9 @@

  • (void) drawBar: (NSRect) barRect {

CGFloat piecesBarPercent = [(TorrentTableView? *)[self controlView] piecesBarPercent];

  • if (piecesBarPercent > 0.0f)

+ CGFloat progress = [[self representedObject] progress]; + + if (progress < 1.0f && piecesBarPercent > 0.0f)

{

NSRect regularBarRect = barRect, piecesBarRect = barRect; piecesBarRect.size.height *= PIECES_TOTAL_PERCENT * piecesBarPercent;

Change History (1)

comment:1 Changed 12 years ago by livings124

  • Resolution set to wontfix
  • Status changed from new to closed

For consistency the bar should be shown.

Note: See TracTickets for help on using tickets.