resizing the drag overlay was causing weird drawing problems, so don't do it
This commit is contained in:
parent
a8d2a1dcc0
commit
6f37592c99
|
@ -205,7 +205,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
[fWindow setAcceptsMouseMovedEvents: YES]; //ensure filter buttons display correctly
|
||||
[fWindow addChildWindow: fOverlayWindow ordered: NSWindowAbove];
|
||||
|
||||
|
||||
fToolbar = [[NSToolbar alloc] initWithIdentifier: @"Transmission Toolbar"];
|
||||
[fToolbar setDelegate: self];
|
||||
[fToolbar setAllowsUserCustomization: YES];
|
||||
|
@ -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