adjust the action button's image placement

This commit is contained in:
Mitchell Livingston 2007-05-21 04:38:05 +00:00
parent addaba3633
commit 2f3b43ff8e
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@
- (void) drawRect: (NSRect) rect
{
NSImage * image = [[self cell] isHighlighted] ? fImagePressed : fImage;
[image drawInRect: rect fromRect: NSMakeRect(0.0, 0.0, [image size].width, [image size].height)
operation: NSCompositeSourceOver fraction: 1.0];
[image drawInRect: [self bounds] fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
}
@end