Forgot to cancel the vanish timer if an ITTSW consumer manually vanishes a window...
[ITKit.git] / ITTransientStatusWindow.m
index bae7b53..6eedb93 100755 (executable)
@@ -195,6 +195,8 @@ static ITTransientStatusWindow *staticWindow = nil;
     
     if ( _visibilityState == ITWindowVisibleState ) {
         [self startVanishTimer];
+    } else if ( (_visibilityState == ITWindowVanishingState) || (_visibilityState == ITWindowHiddenState) ) {
+        [self stopVanishTimer];
     }
 }