Revision: 14614
          http://sourceforge.net/p/skim-app/code/14614
Author:   hofman
Date:     2024-10-30 17:33:01 +0000 (Wed, 30 Oct 2024)
Log Message:
-----------
use media box to draw annotation

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-10-30 17:32:04 UTC 
(rev 14613)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-10-30 17:33:01 UTC 
(rev 14614)
@@ -227,7 +227,7 @@
         [annotation drawWithBox:kPDFDisplayBoxMediaBox];
     else
 #endif
-        [annotation drawWithBox:kPDFDisplayBoxCropBox 
inContext:[[NSGraphicsContext currentContext] CGContext]];
+        [annotation drawWithBox:kPDFDisplayBoxMediaBox 
inContext:[[NSGraphicsContext currentContext] CGContext]];
     [image unlockFocus];
     if (needsRemove)
         [page removeAnnotation:annotation];

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

Reply via email to