Revision: 15596 http://sourceforge.net/p/skim-app/code/15596 Author: hofman Date: 2025-07-03 09:52:02 +0000 (Thu, 03 Jul 2025) Log Message: ----------- return early when not selecting new note
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2025-07-03 09:50:56 UTC (rev 15595) +++ trunk/SKPDFView.m 2025-07-03 09:52:02 UTC (rev 15596) @@ -4226,7 +4226,7 @@ (isInk && (newCurrentAnnotation != currentAnnotation || (modifiers & (NSEventModifierFlagShift | NSEventModifierFlagCapsLock))))) && [NSApp willDragMouse]) { // don't drag markup notes or in freehand tool mode, unless the note was previously selected, so we can select text or draw freehand strokes - newCurrentAnnotation = nil; + return NO; } else if ((modifiers & NSEventModifierFlagShift) && currentAnnotation != newCurrentAnnotation && [[currentAnnotation page] isEqual:[newCurrentAnnotation page]] && [[currentAnnotation type] isEqualToString:[newCurrentAnnotation type]]) { newCurrentAnnotation = [self joinAnnotationToCurrentAnnotation:newCurrentAnnotation] ?: newCurrentAnnotation; } 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