From: Mitchell Livingston Date: Thu, 25 Aug 2011 03:27:33 +0000 (+0000) Subject: (trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731... X-Git-Tag: 2.40b1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14f655285a6a2bfecc3a2e186d7a5250f2e2ef23;p=transmission (trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731 was only for paused) --- diff --git a/web/javascript/torrent-row.js b/web/javascript/torrent-row.js index a393d74b8..03fa19dde 100644 --- a/web/javascript/torrent-row.js +++ b/web/javascript/torrent-row.js @@ -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;