Changeset 9590


Ignore:
Timestamp:
Nov 26, 2009, 4:58:44 PM (13 years ago)
Author:
livings124
Message:

magnetized transfers always get a red progress bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r9492 r9590  
    630630    }
    631631   
    632     if (![torrent allDownloaded])
     632    if (![torrent allDownloaded] && ![torrent isMagnet])
    633633    {
    634634        const CGFloat widthRemaining = round(NSWidth(barRect) * [torrent progressLeft]);
     
    654654    //unwanted section
    655655    if (!NSIsEmptyRect(missingRect))
    656         [[ProgressGradients progressLightGrayGradient] drawInRect: missingRect angle: 90];
     656    {
     657        if (![torrent isMagnet])
     658            [[ProgressGradients progressLightGrayGradient] drawInRect: missingRect angle: 90];
     659        else
     660            [[ProgressGradients progressRedGradient] drawInRect: missingRect angle: 90];
     661    }
    657662}
    658663
Note: See TracChangeset for help on using the changeset viewer.