Revision: 13273
          http://sourceforge.net/p/skim-app/code/13273
Author:   hofman
Date:     2023-02-01 10:00:37 +0000 (Wed, 01 Feb 2023)
Log Message:
-----------
get icon type from Note annotaitons, won't happen in this method anyway

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

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2023-01-31 16:42:48 UTC 
(rev 13272)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2023-02-01 10:00:37 UTC 
(rev 13273)
@@ -336,7 +336,7 @@
         if ([dict objectForKey:SKNPDFAnnotationInteriorColorKey] == nil && 
(value = [self valueForAnnotationKey:@"/IC"]))
             [dict setValue:SKNColorFromAnnotationValue(value) 
forKey:SKNPDFAnnotationInteriorColorKey];
         
-        if ([type isEqualToString:SKNTextString] && (value = [self 
valueForAnnotationKey:@"/Name"]))
+        if (([type isEqualToString:SKNTextString] || [type 
isEqualToString:SKNNoteString]) && (value = [self 
valueForAnnotationKey:@"/Name"]))
             [dict setValue:[NSNumber 
numberWithInteger:SKNIconTypeFromAnnotationValue(value)] 
forKey:SKNPDFAnnotationIconTypeKey];
         
         if ([type isEqualToString:SKNLineString]) {

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