Revision: 16491
http://sourceforge.net/p/skim-app/code/16491
Author: hofman
Date: 2026-09-17 15:45:02 +0000 (Thu, 17 Sep 2026)
Log Message:
-----------
get popup after adding annotation to a page, perhaps it is created on adding.
Modified Paths:
--------------
trunk/PDFDocument_SKExtensions.m
Modified: trunk/PDFDocument_SKExtensions.m
===================================================================
--- trunk/PDFDocument_SKExtensions.m 2026-09-17 15:34:05 UTC (rev 16490)
+++ trunk/PDFDocument_SKExtensions.m 2026-09-17 15:45:02 UTC (rev 16491)
@@ -323,9 +323,9 @@
- (NSArray *)detectedWidgets { return nil; }
- (void)addAnnotation:(PDFAnnotation *)annotation toPage:(PDFPage *)page {
- PDFAnnotation *popup = [annotation popup];
NSDictionary *userInfo = @{SKPDFDocumentAnnotationKey:annotation,
SKPDFDocumentPageKey:page};
[page addAnnotation:annotation];
+ PDFAnnotation *popup = [annotation popup];
if (popup) {
if ([annotation isSkimNote]) {
[page removeAnnotation:popup];
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