Revision: 16378
          http://sourceforge.net/p/skim-app/code/16378
Author:   hofman
Date:     2026-06-09 15:20:34 +0000 (Tue, 09 Jun 2026)
Log Message:
-----------
only need to update loupe when adding or removing a note

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-06-09 15:12:36 UTC (rev 16377)
+++ trunk/SKPDFView.m   2026-06-09 15:20:34 UTC (rev 16378)
@@ -3094,7 +3094,7 @@
 - (void)handleDidAddAnnotationNotification:(NSNotification *)notification {
     PDFAnnotation *annotation = [[notification userInfo] 
objectForKey:SKPDFDocumentAnnotationKey];
     
-    [self updatedAnnotation:annotation];
+    [loupeController updateContents];
     if ([annotation isNote])
         [self resetPDFToolTipRects];
 }
@@ -3105,8 +3105,6 @@
     if (currentAnnotation == annotation) {
         [self setCurrentAnnotation:nil];
         [self beginNewUndoGroupIfNeeded];
-    } else {
-        [self updatedAnnotation:annotation];
     }
 }
 
@@ -3114,6 +3112,7 @@
     NSDictionary *userInfo = [notification userInfo];
     PDFAnnotation *annotation = [userInfo 
objectForKey:SKPDFDocumentAnnotationKey];
     
+    [loupeController updateContents];
     if ([annotation isNote])
         [self resetPDFToolTipRects];
 }

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