Revision: 14628
http://sourceforge.net/p/skim-app/code/14628
Author: hofman
Date: 2024-11-02 16:54:00 +0000 (Sat, 02 Nov 2024)
Log Message:
-----------
always draw note icon on 10.12-10.14 workaround when drawing image placeholder,
as other icons may not scale properly when not proportional
Modified Paths:
--------------
trunk/SkimNotes/SKNPDFAnnotationNote.m
Modified: trunk/SkimNotes/SKNPDFAnnotationNote.m
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.m 2024-11-02 16:25:13 UTC (rev
14627)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.m 2024-11-02 16:54:00 UTC (rev
14628)
@@ -258,7 +258,7 @@
if (NSWidth(bounds) > 2.0 && NSHeight(bounds) > 2.0) {
CGContextSetFillColorWithColor(context, [[self color] CGColor]);
CGContextSetStrokeColorWithColor(context,
CGColorGetConstantColor(kCGColorBlack));
- drawIcon(context, bounds, [self iconType]);
+ drawIcon(context, bounds, [self drawsImage] ?
kPDFTextAnnotationIconNote : [self iconType]);
} else {
CGContextSetFillColorWithColor(context,
CGColorGetConstantColor(kCGColorBlack));
CGContextFillRect(context, NSRectToCGRect(bounds));
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