Revision: 15610
          http://sourceforge.net/p/skim-app/code/15610
Author:   hofman
Date:     2025-07-06 15:44:07 +0000 (Sun, 06 Jul 2025)
Log Message:
-----------
no need to open new undo group when just added an anchored note

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-07-06 09:30:49 UTC (rev 15609)
+++ trunk/SKPDFView.m   2025-07-06 15:44:07 UTC (rev 15610)
@@ -4119,7 +4119,7 @@
             if (draggedAnnotation == NO) {
                 if (currentAnnotation == nil)
                     [self addAnnotationWithType:noteType selection:nil 
page:page bounds:SKRectFromCenterAndSquareSize(originalBounds.origin, 0.0)];
-                else
+                else if (shouldAddAnnotation == NO)
                     [self beginNewUndoGroupIfNeeded];
                 draggedAnnotation = YES;
             }

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

Reply via email to