mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
fix hovering over the pause/resume button in non-compact view
This commit is contained in:
parent
05cf5fccef
commit
19d1e5dc23
1 changed files with 18 additions and 18 deletions
|
@ -246,6 +246,7 @@
|
|||
[controlView addTrackingArea: area];
|
||||
[rowInfo release];
|
||||
[area release];
|
||||
}
|
||||
|
||||
//control button
|
||||
NSRect controlButtonRect = [self controlButtonRectForBounds: cellFrame];
|
||||
|
@ -258,12 +259,11 @@
|
|||
|
||||
NSMutableDictionary * controlInfo = [userInfo mutableCopy];
|
||||
[controlInfo setObject: @"Control" forKey: @"Type"];
|
||||
area = [[NSTrackingArea alloc] initWithRect: controlButtonRect options: controlOptions owner: controlView
|
||||
NSTrackingArea * area = [[NSTrackingArea alloc] initWithRect: controlButtonRect options: controlOptions owner: controlView
|
||||
userInfo: controlInfo];
|
||||
[controlView addTrackingArea: area];
|
||||
[controlInfo release];
|
||||
[area release];
|
||||
}
|
||||
|
||||
//reveal button
|
||||
NSRect revealButtonRect = [self revealButtonRectForBounds: cellFrame];
|
||||
|
@ -276,7 +276,7 @@
|
|||
|
||||
NSMutableDictionary * revealInfo = [userInfo mutableCopy];
|
||||
[revealInfo setObject: @"Reveal" forKey: @"Type"];
|
||||
NSTrackingArea * area = [[NSTrackingArea alloc] initWithRect: revealButtonRect options: revealOptions owner: controlView
|
||||
area = [[NSTrackingArea alloc] initWithRect: revealButtonRect options: revealOptions owner: controlView
|
||||
userInfo: revealInfo];
|
||||
[controlView addTrackingArea: area];
|
||||
[revealInfo release];
|
||||
|
|
Loading…
Reference in a new issue