mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
never dim the buttons on hover on Tiger
This commit is contained in:
parent
d144c11997
commit
d540cadbd0
1 changed files with 4 additions and 4 deletions
|
@ -392,7 +392,7 @@
|
||||||
[revealInfo release];
|
[revealInfo release];
|
||||||
[area release];
|
[area release];
|
||||||
|
|
||||||
//action button (needed even in minimal mode to display status string
|
//action button (needed even in minimal mode to display status string)
|
||||||
NSRect actionButtonRect = [self actionButtonRectForBounds: cellFrame];
|
NSRect actionButtonRect = [self actionButtonRectForBounds: cellFrame];
|
||||||
NSTrackingAreaOptions actionOptions = options;
|
NSTrackingAreaOptions actionOptions = options;
|
||||||
if (NSMouseInRect(mouseLocation, actionButtonRect, [controlView isFlipped]))
|
if (NSMouseInRect(mouseLocation, actionButtonRect, [controlView isFlipped]))
|
||||||
|
@ -411,17 +411,17 @@
|
||||||
|
|
||||||
- (void) setControlHover: (BOOL) hover
|
- (void) setControlHover: (BOOL) hover
|
||||||
{
|
{
|
||||||
fHoverControl = [NSApp isOnLeopardOrBetter] ? hover : -1;
|
fHoverControl = [NSApp isOnLeopardOrBetter] ? hover : NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setRevealHover: (BOOL) hover
|
- (void) setRevealHover: (BOOL) hover
|
||||||
{
|
{
|
||||||
fHoverReveal = [NSApp isOnLeopardOrBetter] ? hover : -1;
|
fHoverReveal = [NSApp isOnLeopardOrBetter] ? hover : NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setActionHover: (BOOL) hover
|
- (void) setActionHover: (BOOL) hover
|
||||||
{
|
{
|
||||||
fHoverAction = [NSApp isOnLeopardOrBetter] ? hover : -1;
|
fHoverAction = [NSApp isOnLeopardOrBetter] ? hover : NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
|
- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
|
||||||
|
|
Loading…
Reference in a new issue