X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/2404965b693451fd71dcffd06eb82695e9085389..72525936e39908832152b4d81c58d4b40994d7a7:/StatusWindow.m diff --git a/StatusWindow.m b/StatusWindow.m index 8377ac0..e3dd8a5 100755 --- a/StatusWindow.m +++ b/StatusWindow.m @@ -121,7 +121,9 @@ float excessHeight = 0.0; NSPoint windowOrigin; ITImageView *imageView; - + BOOL shouldAnimate = ( ! (([self visibilityState] == ITWindowAppearingState) || + ([self visibilityState] == ITWindowVanishingState)) ); + if ( _sizing == StatusWindowSmall ) { divisor = SMALL_DIVISOR; } else if ( _sizing == StatusWindowMini ) { @@ -173,7 +175,7 @@ [self setFrame:NSMakeRect( windowOrigin.x, windowOrigin.y, windowWidth, - windowHeight) display:YES animate:YES]; + windowHeight) display:YES animate:shouldAnimate]; [[[self contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];