Ignore:
Timestamp:
Mar 22, 2007, 7:16:08 PM (15 years ago)
Author:
livings124
Message:

update progress bar when seeding immediately when the stop ratio setting is changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r1575 r1577  
    100100    float completedWidth, remainingWidth;
    101101   
    102     //bar images
     102    //bar images and widths
    103103    NSImage * barLeftEnd, * barRightEnd, * barComplete, * barRemaining;
    104104    if (seeding)
     
    140140    }
    141141   
     142    //place bar
    142143    [barLeftEnd compositeToPoint: point operation: NSCompositeSourceOver];
    143144   
    144     //active bar
    145145    point.x += 1.0;
    146146    [self placeBar: barComplete width: completedWidth point: point];
    147147   
    148     //remaining bar
    149148    point.x += completedWidth;
    150149    [self placeBar: barRemaining width: remainingWidth point: point];
Note: See TracChangeset for help on using the changeset viewer.