Revision: 9826
          http://sourceforge.net/p/skim-app/code/9826
Author:   hofman
Date:     2018-08-10 09:33:44 +0000 (Fri, 10 Aug 2018)
Log Message:
-----------
rename method back, as it does not just hide the navigation window

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2018-08-10 09:31:00 UTC (rev 9825)
+++ trunk/SKPDFView.m   2018-08-10 09:33:44 UTC (rev 9826)
@@ -179,7 +179,7 @@
 - (void)enableNavigation;
 - (void)disableNavigation;
 
-- (void)hideNavWindow;
+- (void)doAutoHide;
 - (void)showNavWindow;
 - (void)performSelectorOnce:(SEL)aSelector afterDelay:(NSTimeInterval)delay;
 
@@ -323,7 +323,7 @@
     [transitionController removeObserver:self forKeyPath:@"shouldRestrict"];
     [transitionController removeObserver:self forKeyPath:@"pageTransitions"];
     [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(showNavWindow) object:nil];
-    [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(hideNavWindow) object:nil];
+    [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(doAutoHide) object:nil];
     [[SKImageToolTipWindow sharedToolTipWindow] orderOut:self];
     [self removePDFToolTipRects];
     [syncDot invalidate];
@@ -737,7 +737,7 @@
         rect = [self convertRect:[toPage boundsForBox:[self displayBox]] 
fromPage:toPage];
         [[self transitionController] animateForRect:rect];
         if (interactionMode == SKPresentationMode)
-            [self performSelectorOnce:@selector(hideNavWindow) afterDelay:3.0];
+            [self performSelectorOnce:@selector(doAutoHide) afterDelay:3.0];
     }
 }
 
@@ -1317,7 +1317,7 @@
         }
     }
     if (navigationMode != SKNavigationNone || interactionMode == 
SKPresentationMode)
-        [self performSelectorOnce:@selector(hideNavWindow) afterDelay:3.0];
+        [self performSelectorOnce:@selector(doAutoHide) afterDelay:3.0];
 }
 
 - (void)flagsChanged:(NSEvent *)theEvent {
@@ -2520,7 +2520,7 @@
     }
     navWindow = [[SKNavigationWindow alloc] initWithPDFView:self];
     
-    [self performSelectorOnce:@selector(hideNavWindow) afterDelay:3.0];
+    [self performSelectorOnce:@selector(doAutoHide) afterDelay:3.0];
 }
 
 - (void)disableNavigation {
@@ -2527,11 +2527,11 @@
     navigationMode = SKNavigationNone;
     
     [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(showNavWindow) object:nil];
-    [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(hideNavWindow) object:nil];
+    [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(doAutoHide) object:nil];
     [navWindow remove];
 }
 
-- (void)hideNavWindow {
+- (void)doAutoHide {
     if ([navWindow isVisible] && NSPointInRect([NSEvent mouseLocation], 
[navWindow frame]))
         return;
     if (interactionMode == SKLegacyFullScreenMode || interactionMode == 
SKPresentationMode) {

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to