Revision: 15597
          http://sourceforge.net/p/skim-app/code/15597
Author:   hofman
Date:     2025-07-03 14:14:44 +0000 (Thu, 03 Jul 2025)
Log Message:
-----------
simplify page comparison

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-07-03 09:52:02 UTC (rev 15596)
+++ trunk/SKPDFView.m   2025-07-03 14:14:44 UTC (rev 15597)
@@ -4227,7 +4227,7 @@
                    [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
             return NO;
-        } else if ((modifiers & NSEventModifierFlagShift) && currentAnnotation 
!= newCurrentAnnotation && [[currentAnnotation page] 
isEqual:[newCurrentAnnotation page]] && [[currentAnnotation type] 
isEqualToString:[newCurrentAnnotation type]]) {
+        } else if ((modifiers & NSEventModifierFlagShift) && currentAnnotation 
!= newCurrentAnnotation && [currentAnnotation page] == 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

Reply via email to