Revision: 16609
http://sourceforge.net/p/skim-app/code/16609
Author: hofman
Date: 2026-10-05 14:55:37 +0000 (Mon, 05 Oct 2026)
Log Message:
-----------
don't draw icon ourselves when drawing image
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-04 21:45:54 UTC
(rev 16608)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-05 14:55:37 UTC
(rev 16609)
@@ -1849,7 +1849,7 @@
[NSGraphicsContext restoreGraphicsState];
CGContextRestoreGState(context);
#if !defined(MAC_OS_X_VERSION_10_15) || MAC_OS_X_VERSION_MIN_REQUIRED <
MAC_OS_X_VERSION_10_15
- } else if ([self hasAppearanceStream] == NO &&
floor(NSAppKitVersionNumber) <= SKNAppKitVersionNumber10_14 &&
floor(NSAppKitVersionNumber) >= SKNAppKitVersionNumber10_12) {
+ } else if ([self drawsImage] == NO && [self hasAppearanceStream] == NO &&
floor(NSAppKitVersionNumber) <= SKNAppKitVersionNumber10_14 &&
floor(NSAppKitVersionNumber) >= SKNAppKitVersionNumber10_12) {
// on 10.12 through 10.14 draws based on the type rather than the
/Subtype
// as PDFKit does not know type Note we need to draw ourselves
// type Text does just draws a dumb filled square anyway
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