Revision: 16369
          http://sourceforge.net/p/skim-app/code/16369
Author:   hofman
Date:     2026-06-08 14:08:07 +0000 (Mon, 08 Jun 2026)
Log Message:
-----------
no need to update view for annotation removal when clearing current annotation

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-06-07 16:14:24 UTC (rev 16368)
+++ trunk/SKPDFView.m   2026-06-08 14:08:07 UTC (rev 16369)
@@ -3103,9 +3103,9 @@
     if (currentAnnotation == annotation) {
         [self setCurrentAnnotation:nil];
         [self beginNewUndoGroupIfNeeded];
+    } else {
+        [self updatedAnnotation:annotation];
     }
-    
-    [self updatedAnnotation:annotation];
 }
 
 - (void)handleDidRemoveAnnotationNotification:(NSNotification *)notification {

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