Changeset 11986


Ignore:
Timestamp:
Feb 19, 2011, 7:30:24 PM (11 years ago)
Author:
livings124
Message:

the check mark indicating completed peers in the inspector was being stretched because the x-coordinate wasn't being floor()ed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PeerProgressIndicatorCell.m

    r11617 r11986  
    8282           
    8383            const NSSize imageSize = [checkImage size];
    84             const NSRect rect = NSMakeRect(NSMidX(cellFrame) - imageSize.width * 0.5, NSMidY(cellFrame) - imageSize.height * 0.5,
     84            const NSRect rect = NSMakeRect(floor(NSMidX(cellFrame) - imageSize.width * 0.5),
     85                                            floor(NSMidY(cellFrame) - imageSize.height * 0.5),
    8586                                            imageSize.width, imageSize.height);
    8687           
Note: See TracChangeset for help on using the changeset viewer.