Revision: 15252
          http://sourceforge.net/p/skim-app/code/15252
Author:   hofman
Date:     2025-05-21 14:50:20 +0000 (Wed, 21 May 2025)
Log Message:
-----------
always convert mouse location to page

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

Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m  2025-05-21 14:49:19 UTC (rev 15251)
+++ trunk/SKPresentationView.m  2025-05-21 14:50:20 UTC (rev 15252)
@@ -1085,7 +1085,7 @@
     if ([[page annotations] count] == 0)
         return nil;
     
-    NSPoint point = theEvent ? [self convertPointToPage:[theEvent 
locationInView:self]] : [self convertPointFromScreen:[NSEvent mouseLocation]];
+    NSPoint point = [self convertPointToPage:theEvent ? [theEvent 
locationInView:self] : [self convertPointFromScreen:[NSEvent mouseLocation]]];
     
     for (PDFAnnotation *annotation in [[page annotations] 
reverseObjectEnumerator]) {
         if ([annotation isLink] && [annotation hitTest:point])

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