Changeset 4289


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

slightly better behavior when placing the not-available bar

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/IPCController.m

    r4288 r4289  
    861861            break;
    862862        case IPC_MSG_PEX:
    863 #warning we dont support this :(
     863        //we dont support this :(
    864864            [client sendrespEmpty: IPC_MSG_FAIL tag: tag];
    865865            break;
  • 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.