when fading the drag overlay, have it expand if the window is expanding (i.e. auto resize is enabled)

This commit is contained in:
Mitchell Livingston
2007-05-21 03:56:55 +00:00
parent 04c813f9ef
commit 5890c30cc5
2 changed files with 6 additions and 8 deletions

View File

@@ -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];
}