Revision: 13650
http://sourceforge.net/p/skim-app/code/13650
Author: hofman
Date: 2023-09-08 22:25:07 +0000 (Fri, 08 Sep 2023)
Log Message:
-----------
make sure freehand note in presentation is always added
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-09-08 22:17:36 UTC (rev 13649)
+++ trunk/SKPDFView.m 2023-09-08 22:25:07 UTC (rev 13650)
@@ -4619,13 +4619,13 @@
if (interactionMode != SKPresentationMode) {
[annotation registerUserName];
[self beginNewUndoGroupIfNeededWithCommit:NO];
- [[self document] addAnnotation:annotation toPage:page];
- [[self undoManager] setActionName:NSLocalizedString(@"Add Note",
@"Undo action name")];
} else if (tmpColor) {
[annotation setColor:tmpColor];
- [[self document] addAnnotation:annotation toPage:page];
}
-
+ [[self document] addAnnotation:annotation toPage:page];
+ if (interactionMode != SKPresentationMode)
+ [[self undoManager] setActionName:NSLocalizedString(@"Add Note",
@"Undo action name")];
+
[paths release];
[annotation release];
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