Revision: 3473
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3473&view=rev
Author:   hofman
Date:     2008-03-13 18:19:43 -0700 (Thu, 13 Mar 2008)

Log Message:
-----------
Always stop animations when scheduling for showing the hover window, otherwise 
the delayed hiding will stop the delayed showing.

Modified Paths:
--------------
    trunk/SKPDFHoverWindow.m

Modified: trunk/SKPDFHoverWindow.m
===================================================================
--- trunk/SKPDFHoverWindow.m    2008-03-13 23:11:40 UTC (rev 3472)
+++ trunk/SKPDFHoverWindow.m    2008-03-14 01:19:43 UTC (rev 3473)
@@ -162,6 +162,10 @@
     point = NSZeroPoint;
 }
 
+- (void)fadeOut {
+    [super fadeOut];
+}
+
 - (void)showDelayed {
     NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
     NSPoint thePoint = NSEqualPoints(point, NSZeroPoint) ? [NSEvent 
mouseLocation] : point;
@@ -326,11 +330,8 @@
     point = aPoint;
     
     if ([note isEqual:annotation] == NO) {
-        [self cancelDelayedAnimations];
+        [self stopAnimation];
         
-        if ([self isVisible] && [self alphaValue] > 0.9)
-            [self stopAnimation];
-        
         [annotation release];
         annotation = [note retain];
         


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to