Revision: 14557
http://sourceforge.net/p/skim-app/code/14557
Author: hofman
Date: 2024-10-18 14:38:35 +0000 (Fri, 18 Oct 2024)
Log Message:
-----------
reset autoScales flag after changing maxScaleFactor, as PDFView (wrongly)
changes it
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2024-10-16 16:53:58 UTC (rev 14556)
+++ trunk/SKMainWindowController.m 2024-10-18 14:38:35 UTC (rev 14557)
@@ -1116,8 +1116,14 @@
[self registerForDocumentNotifications];
+ BOOL autoScale = [pdfView autoScales];
[pdfView setMaxScaleFactor:20.0];
+ if (autoScale != [pdfView autoScales])
+ [pdfView setAutoScales:autoScale];
+ autoScale = [secondaryPdfView autoScales];
[secondaryPdfView setMaxScaleFactor:20.0];
+ if (autoScale != [secondaryPdfView autoScales])
+ [secondaryPdfView setAutoScales:autoScale];
[toolbarController updateMinMaxScale];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit