Revision: 15595
http://sourceforge.net/p/skim-app/code/15595
Author: hofman
Date: 2025-07-03 09:50:56 +0000 (Thu, 03 Jul 2025)
Log Message:
-----------
set variale directly to new note
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-07-03 09:47:31 UTC (rev 15594)
+++ trunk/SKPDFView.m 2025-07-03 09:50:56 UTC (rev 15595)
@@ -4220,9 +4220,8 @@
[newCurrentAnnotation resizeHandleForPoint:point scaleFactor:[self
scaleFactor]] == 0 &&
[NSApp willDragMouse]) {
// select a new copy of the annotation
- PDFAnnotation *newAnnotation = [PDFAnnotation
newSkimNoteWithProperties:[newCurrentAnnotation SkimNoteProperties]];
- [self addAnnotation:newAnnotation toPage:page select:NO];
- newCurrentAnnotation = newAnnotation;
+ newCurrentAnnotation = [PDFAnnotation
newSkimNoteWithProperties:[newCurrentAnnotation SkimNoteProperties]];
+ [self addAnnotation:newCurrentAnnotation toPage:page select:NO];
} else if (([newCurrentAnnotation isMarkup] ||
(isInk && (newCurrentAnnotation != currentAnnotation ||
(modifiers & (NSEventModifierFlagShift | NSEventModifierFlagCapsLock))))) &&
[NSApp willDragMouse]) {
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