Changeset 5487


Ignore:
Timestamp:
Apr 1, 2008, 10:29:50 PM (14 years ago)
Author:
livings124
Message:

fix overlapping dock badging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BadgeView.m

    r5479 r5487  
    121121    NSSize stringSize = [string sizeWithAttributes: fAttributes];
    122122   
    123     NSRect stringRect;
     123    NSRect stringRect = badgeRect;
    124124    stringRect.origin.x += (badgeRect.size.width - stringSize.width) * 0.5;
    125125    stringRect.origin.y += (badgeRect.size.height - stringSize.height) * 0.5 + 1.0; //adjust for shadow
Note: See TracChangeset for help on using the changeset viewer.