mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
when fading the drag overlay, have it expand if the window is expanding (i.e. auto resize is enabled)
This commit is contained in:
@@ -1326,6 +1326,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
//badge dock
|
||||
[fBadger updateBadgeWithCompleted: fCompleted];
|
||||
NSLog([NSString stringWithInt: fCompleted]);
|
||||
}
|
||||
|
||||
- (void) updateTorrentsInQueue
|
||||
@@ -2947,6 +2948,8 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
- (void) windowDidResize: (NSNotification *) notification
|
||||
{
|
||||
[fOverlayWindow setFrame: [fWindow frame] display: YES];
|
||||
|
||||
//hide search filter if it overlaps filter buttons
|
||||
[fSearchFilterField setHidden: NSMaxX([fPauseFilterButton frame]) + 2.0 > [fSearchFilterField frame].origin.x];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user