Changeset 8566


Ignore:
Timestamp:
May 31, 2009, 12:48:43 AM (12 years ago)
Author:
kjg
Message:

(web trunk) 100x more precise progress bars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r8546 r8566  
    365365               
    366366                        // Figure out the percent completed
    367                         var css_completed_width = Math.floor( this.getPercentDone() * MaxBarWidth );
     367                        var css_completed_width = Math.floor( this.getPercentDone() * 100 * MaxBarWidth ) / 100;
    368368                       
    369369                        // Update the 'in progress' bar
Note: See TracChangeset for help on using the changeset viewer.