Revision: 14606
http://sourceforge.net/p/skim-app/code/14606
Author: hofman
Date: 2024-10-29 16:58:45 +0000 (Tue, 29 Oct 2024)
Log Message:
-----------
only need to use drawWithBox when deployment target is befoer 10.12
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2024-10-29 16:55:11 UTC
(rev 14605)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2024-10-29 16:58:45 UTC
(rev 14606)
@@ -210,7 +210,7 @@
}
[transform rotateByDegrees:[page rotation]];
[transform concat];
-#if !defined(MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MAX_ALLOWED <
MAC_OS_X_VERSION_10_12
+#if !defined(MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MIN_REQUIRED <
MAC_OS_X_VERSION_10_12
if ([annotation respondsToSelector:@selector(drawWithBox:inContext:)] ==
NO)
[annotation drawWithBox:kPDFDisplayBoxCropBox];
else
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