(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
1 changed files with 1 additions and 1 deletions

View File

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