Changeset 12011


Ignore:
Timestamp:
Feb 23, 2011, 2:39:12 AM (11 years ago)
Author:
livings124
Message:

(2.2x) #4042 Peer completeness checkmark slightly distorted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2x/macosx/PeerProgressIndicatorCell.m

    r11617 r12011  
    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.