1
0
Fork 0
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:
Kevin Glowacz 2009-05-31 00:48:43 +00:00
parent d4aaa3d320
commit b857354e75

View file

@ -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;