resizing the drag overlay was causing weird drawing problems, so don't do it
This commit is contained in:
parent
a8d2a1dcc0
commit
6f37592c99
|
@ -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];
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue