mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(web trunk) 100x more precise progress bars
This commit is contained in:
@@ -364,7 +364,7 @@ Torrent.prototype =
|
||||
progress_details = c;
|
||||
|
||||
// Figure out the percent completed
|
||||
var css_completed_width = Math.floor( this.getPercentDone() * MaxBarWidth );
|
||||
var css_completed_width = Math.floor( this.getPercentDone() * 100 * MaxBarWidth ) / 100;
|
||||
|
||||
// Update the 'in progress' bar
|
||||
e = root._progress_complete_container;
|
||||
|
||||
Reference in New Issue
Block a user