Revision: 5433
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5433&view=rev
Author:   hofman
Date:     2009-06-17 17:30:58 +0000 (Wed, 17 Jun 2009)

Log Message:
-----------
fix a check for when to autohide cursor and navigation mode, in particular 
always autohide the cursor in presentation even without navigation window

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2009-06-17 17:06:36 UTC (rev 5432)
+++ trunk/SKPDFView.m   2009-06-17 17:30:58 UTC (rev 5433)
@@ -1218,14 +1218,10 @@
         [self setActiveAnnotation:nil];
     }
     
-    // in presentation mode only show the navigation window only by moving the 
mouse to the bottom edge
-    BOOL shouldShowNavWindow = (navigationMode == SKNavigationEverywhere) || 
(navigationMode == SKNavigationBottom && [theEvent locationInWindow].y < 3.0);
-    if (navigationMode || shouldShowNavWindow) {
-        if (shouldShowNavWindow && [navWindow isVisible] == NO) {
-            [navWindow orderFront:self];
-        }
+    if ([navWindow isVisible] == NO && ((navigationMode == 
SKNavigationEverywhere) || (navigationMode == SKNavigationBottom && [theEvent 
locationInWindow].y < 3.0)))
+        [navWindow orderFront:self];
+    if (navigationMode != SKNavigationNone || interactionMode == 
SKPresentationMode)
         [self doAutohide:YES];
-    }
 }
 
 - (void)flagsChanged:(NSEvent *)theEvent {


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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to