Revision: 13283
http://sourceforge.net/p/skim-app/code/13283
Author: hofman
Date: 2023-02-03 16:39:42 +0000 (Fri, 03 Feb 2023)
Log Message:
-----------
go to center of page on 10.12+ rather than 10.13+, this should already be used
for the currentPage on 10.12 as it has a private method with a corresponding
name, I don't know about earlier versions
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2023-02-03 10:21:47 UTC (rev 13282)
+++ trunk/SKBasePDFView.m 2023-02-03 16:39:42 UTC (rev 13283)
@@ -276,7 +276,7 @@
static inline BOOL hasVerticalLayout(PDFView *pdfView) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpartial-availability"
- return RUNNING_AFTER(10_12) && [pdfView displayDirection] ==
kPDFDisplayDirectionVertical && ([pdfView displayMode] &
kPDFDisplaySinglePageContinuous);
+ return RUNNING_AFTER(10_11) && [pdfView displayDirection] ==
kPDFDisplayDirectionVertical && ([pdfView displayMode] &
kPDFDisplaySinglePageContinuous);
#pragma clang diagnostic pop
}
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