Revision: 12898
          http://sourceforge.net/p/skim-app/code/12898
Author:   hofman
Date:     2022-05-07 17:45:42 +0000 (Sat, 07 May 2022)
Log Message:
-----------
reset auto scales when changing scale through ppinch zoom in presentation mode, 
at least when the system tells us about it

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2022-05-07 17:16:35 UTC (rev 12897)
+++ trunk/SKPDFView.m   2022-05-07 17:45:42 UTC (rev 12898)
@@ -3078,6 +3078,8 @@
 - (void)handleScaleChangedNotification:(NSNotification *)notification {
     [self resetPDFToolTipRects];
     [self updatePacer];
+    if (interactionMode == SKPresentationMode && [self autoScales] == NO && 
fabs([self scaleFactor] - 1.0) > 0.0)
+        [self setAutoScales:YES];
 }
 
 - (void)handlePDFContentViewFrameChangedNotification:(NSNotification 
*)notification {

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to