Permalink
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents ab6427c + 5a98465 commit e7104e0b6773b29432cb06b0d85aa1f1e4548213 @shpakovski committed Sep 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Popup/StatusItemView.m
View
3 Popup/StatusItemView.m
@@ -38,7 +38,8 @@ - (void)drawRect:(NSRect)dirtyRect
CGFloat iconX = roundf((NSWidth(bounds) - iconSize.width) / 2);
CGFloat iconY = roundf((NSHeight(bounds) - iconSize.height) / 2);
NSPoint iconPoint = NSMakePoint(iconX, iconY);
- [icon compositeToPoint:iconPoint operation:NSCompositeSourceOver];
+
+ [icon drawAtPoint:iconPoint fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
}
#pragma mark -

0 comments on commit e7104e0

Please sign in to comment.