Revision: 16366
http://sourceforge.net/p/skim-app/code/16366
Author: hofman
Date: 2026-06-07 14:36:02 +0000 (Sun, 07 Jun 2026)
Log Message:
-----------
don't bother handling Ink annotation
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2026-06-07 14:32:55 UTC (rev 16365)
+++ trunk/SKPDFView.m 2026-06-07 14:36:02 UTC (rev 16366)
@@ -2620,11 +2620,8 @@
- (void)addAnnotationWithType:(SKNoteType)annotationType
selection:(PDFSelection *)selection point:(NSPoint)point {
if (IS_MARKUP(annotationType))
[self addMarkupAnnotationWithType:annotationType selection:selection];
- else if (annotationType == SKNoteTypeInk)
- // we need a drawn path to add an ink note
- // should never happen
- NSBeep();
- else
+ else if (annotationType != SKNoteTypeInk)
+ // should never reach this for Ink
[self addOtherAnnotationWithType:annotationType selection:selection
point:point];
}
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