mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(web trunk) 100x more precise progress bars
This commit is contained in:
parent
d4aaa3d320
commit
b857354e75
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ Torrent.prototype =
|
||||||
progress_details = c;
|
progress_details = c;
|
||||||
|
|
||||||
// Figure out the percent completed
|
// 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
|
// Update the 'in progress' bar
|
||||||
e = root._progress_complete_container;
|
e = root._progress_complete_container;
|
||||||
|
|
Loading…
Reference in a new issue