mirror of
https://github.com/transmission/transmission
synced 2025-03-03 10:15:45 +00:00
adjust the action button's image placement
This commit is contained in:
parent
addaba3633
commit
2f3b43ff8e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue