Revision: 13521
          http://sourceforge.net/p/skim-app/code/13521
Author:   hofman
Date:     2023-06-29 18:55:39 +0000 (Thu, 29 Jun 2023)
Log Message:
-----------
make sure currentPoint is set, e.g. when starting with flags changed

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2023-06-29 18:54:47 UTC (rev 13520)
+++ trunk/SKPDFView.m   2023-06-29 18:55:39 UTC (rev 13521)
@@ -4870,7 +4870,7 @@
     NSView *docView = [self documentView];
     NSClipView *clipView = [[self scrollView] contentView];
     NSPoint startPoint = [theEvent locationInView:docView];
-    NSPoint currentPoint;
+    NSPoint currentPoint = startPoint;
     NSRect selRect = {startPoint, NSZeroSize};
     BOOL dragged = NO;
     NSWindow *window = [self window];

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

Reply via email to