Revision: 3290
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3290&view=rev
Author:   hofman
Date:     2007-11-30 11:43:41 -0800 (Fri, 30 Nov 2007)

Log Message:
-----------
Disable Zoom To Actual Size in presentation mode.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2007-11-30 19:08:39 UTC (rev 3289)
+++ trunk/SKMainWindowController.m      2007-11-30 19:43:41 UTC (rev 3290)
@@ -5255,7 +5255,7 @@
     } else if (action == @selector(doZoomOut:)) {
         return [self isPresentation] == NO && [pdfView canZoomOut];
     } else if (action == @selector(doZoomToActualSize:)) {
-        return fabsf([pdfView scaleFactor] - 1.0 ) > 0.01;
+        return [self isPresentation] == NO && fabsf([pdfView scaleFactor] - 
1.0 ) > 0.01;
     } else if (action == @selector(doZoomToPhysicalSize:)) {
         return [self isPresentation] == NO;
     } else if (action == @selector(doZoomToSelection:)) {


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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to