Revision: 14621 http://sourceforge.net/p/skim-app/code/14621 Author: hofman Date: 2024-10-31 15:47:38 +0000 (Thu, 31 Oct 2024) Log Message: ----------- do always set iconType for icon note so the name is changed, it can have the default value for an arbitrary name
Modified Paths: -------------- trunk/SKNPDFAnnotationNote_SKExtensions.m Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m =================================================================== --- trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-10-31 15:34:46 UTC (rev 14620) +++ trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-10-31 15:47:38 UTC (rev 14621) @@ -102,8 +102,7 @@ } else { if ([self drawsImage]) [self setDrawsImage:NO]; - if ([self iconType] != iconType) - [self setIconType:iconType]; + [self setIconType:iconType]; if (NSEqualSizes([self bounds].size, SKNPDFAnnotationNoteSize) == NO) { NSRect bounds = [self bounds]; bounds.origin.y = NSMaxY(bounds) - SKNPDFAnnotationNoteSize.height; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit