From 14f655285a6a2bfecc3a2e186d7a5250f2e2ef23 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 25 Aug 2011 03:27:33 +0000 Subject: [PATCH] (trunk web) for non-active seeds (paused or queued), draw the whole bar gray (r12731 was only for paused) --- web/javascript/torrent-row.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0