Revision: 14154
http://sourceforge.net/p/skim-app/code/14154
Author: hofman
Date: 2024-03-28 15:10:15 +0000 (Thu, 28 Mar 2024)
Log Message:
-----------
Don't undo autoScales from Fit* destinations
Modified Paths:
--------------
trunk/PDFDestination_SKExtensions.m
Modified: trunk/PDFDestination_SKExtensions.m
===================================================================
--- trunk/PDFDestination_SKExtensions.m 2024-03-28 10:34:17 UTC (rev 14153)
+++ trunk/PDFDestination_SKExtensions.m 2024-03-28 15:10:15 UTC (rev 14154)
@@ -153,7 +153,7 @@
if (point.y >= kPDFDestinationUnspecifiedValue)
point.y = (rotation + 90) % 360 < 180 ? NSMaxY(bounds) :
NSMinY(bounds);
PDFDestination *destination = [[PDFDestination alloc]
initWithPage:page atPoint:point];
- if (zoomX < kPDFDestinationUnspecifiedValue)
+ if (zoomX < kPDFDestinationUnspecifiedValue && [pdfView
autoScales] == NO)
[destination setZoom:fmin(zoomX, zoomY)];
return destination;
}
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