(trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731 was only for paused)

This commit is contained in:
Mitchell Livingston 2011-08-25 03:27:33 +00:00
parent f4ee57253a
commit 14f655285a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ TorrentRendererHelper.getProgressInfo = function(controller, t)
pct = t.getMetadataPercentComplete() * 100;
else if (!t.isDone())
pct = Math.round(t.getPercentDone() * 100);
else if (seed_ratio_limit > 0 && !t.isStopped())
else if (seed_ratio_limit > 0 && t.isSeeding()) // don't split up the bar if paused or queued
pct = Math.round(t.getUploadRatio() * 100 / seed_ratio_limit);
else
pct = 100;