Revision: 6416
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6416&view=rev
Author:   hofman
Date:     2010-04-05 08:40:47 +0000 (Mon, 05 Apr 2010)

Log Message:
-----------
don't show pdf tooltips in presentation mode

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2010-04-04 21:49:52 UTC (rev 6415)
+++ trunk/SKPDFView.m   2010-04-05 08:40:47 UTC (rev 6416)
@@ -293,7 +293,7 @@
 - (void)resetPDFToolTipRects {
     [self removePDFToolTipRects];
     
-    if ([self document] && [self window]) {
+    if ([self document] && [self window] && interactionMode != 
SKPresentationMode) {
         NSRange range = [self visiblePageIndexRange];
         NSUInteger i, iMax = NSMaxRange(range);
         NSRect visibleRect = [self visibleContentRect];
@@ -502,6 +502,7 @@
             [self disableNavigation];
         else
             [self enableNavigationForScreen:screen];
+        [self resetPDFToolTipRects];
     }
 }
 


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to