resizing the drag overlay was causing weird drawing problems, so don't do it

This commit is contained in:
Mitchell Livingston 2007-05-21 22:38:06 +00:00
parent a8d2a1dcc0
commit 6f37592c99
2 changed files with 3 additions and 3 deletions

View File

@ -2942,8 +2942,6 @@ 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];
}

View File

@ -115,6 +115,7 @@
[[self contentView] setOverlay: icon mainLine: name subLine: sizeString];
[fFadeOutAnimation stopAnimation];
[self setFrame: [[self parentWindow] frame] display: YES];
[fFadeInAnimation startAnimation];
}
@ -124,6 +125,7 @@
mainLine: NSLocalizedString(@"Web Address", "Drag overlay -> url") subLine: url];
[fFadeOutAnimation stopAnimation];
[self setFrame: [[self parentWindow] frame] display: YES];
[fFadeInAnimation startAnimation];
}