silence a deprecation warning
This commit is contained in:
parent
96e77053b4
commit
8e0a157531
|
@ -113,8 +113,7 @@
|
||||||
{
|
{
|
||||||
const NSRect frame = [self frame];
|
const NSRect frame = [self frame];
|
||||||
const NSSize imageSize = [fBadge size];
|
const NSSize imageSize = [fBadge size];
|
||||||
[fBadge compositeToPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5,
|
[fBadge drawAtPoint: NSMakePoint((NSWidth(frame) - imageSize.width) * 0.5, (NSHeight(frame) - imageSize.height) * 0.5) fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
||||||
(NSHeight(frame) - imageSize.height) * 0.5) operation: NSCompositeSourceOver];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue