mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
adjust the action button's image placement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user