Ignore:
Timestamp:
Dec 22, 2007, 7:07:58 PM (15 years ago)
Author:
livings124
Message:

slightly better behavior when placing the not-available bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r4232 r4289  
    358358            if ([torrent isActive] && ![torrent allDownloaded] && [fDefaults boolForKey: @"DisplayProgressBarAvailable"])
    359359            {
    360                 int notAvailableWidth = MIN(barRect.size.width * [torrent notAvailableDesired], rightWidth);
     360                int notAvailableWidth = MIN(ceil(barRect.size.width * [torrent notAvailableDesired]), rightWidth);
    361361                rightWidth -= notAvailableWidth;
    362362               
Note: See TracChangeset for help on using the changeset viewer.