X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/e873f11d0bb398c460817aa1dd4061572f5a1d09..bbb399e28121ac71152cef5fc21e106c4b941cbc:/ITTransientStatusWindow.m?ds=sidebyside diff --git a/ITTransientStatusWindow.m b/ITTransientStatusWindow.m index bae7b53..92eba65 100755 --- a/ITTransientStatusWindow.m +++ b/ITTransientStatusWindow.m @@ -1,6 +1,6 @@ #import "ITTransientStatusWindow.h" #import "ITWindowEffect.h" -#import +#import #import "ITCoreGraphicsHacks.h" #import "ITTextField.h" #import "ITGrayRoundedView.h" @@ -81,7 +81,7 @@ static ITTransientStatusWindow *staticWindow = nil; _verticalPosition = ITWindowPositionBottom; _horizontalPosition = ITWindowPositionLeft; _screenPadding = 32.0; - _screenNumber = 0; + //_screenNumber = 0; _entryEffect = nil; _exitEffect = nil; _reallyIgnoresEvents = YES; @@ -195,6 +195,8 @@ static ITTransientStatusWindow *staticWindow = nil; if ( _visibilityState == ITWindowVisibleState ) { [self startVanishTimer]; + } else if ( (_visibilityState == ITWindowVanishingState) || (_visibilityState == ITWindowHiddenState) ) { + [self stopVanishTimer]; } } @@ -279,7 +281,7 @@ static ITTransientStatusWindow *staticWindow = nil; _screenPadding = newPadding; } -- (int)screenNumber +/*- (int)screenNumber { return _screenNumber; } @@ -287,7 +289,7 @@ static ITTransientStatusWindow *staticWindow = nil; - (void)setScreenNumber:(int)newNumber { _screenNumber = newNumber; -} +}*/ - (ITWindowEffect *)entryEffect {