Revision: 13549
          http://sourceforge.net/p/skim-app/code/13549
Author:   hofman
Date:     2023-07-31 14:00:03 +0000 (Mon, 31 Jul 2023)
Log Message:
-----------
consider whole of presentation area a page area, so we show the laserpointer 
cursor

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2023-07-31 13:54:43 UTC (rev 13548)
+++ trunk/SKPDFView.m   2023-07-31 14:00:03 UTC (rev 13549)
@@ -5206,7 +5206,7 @@
     } else if (NSPointInRect(p, [self convertRect:[self visibleContentRect] 
toView:nil]) == NO || ([navWindow isVisible] && NSPointInRect([theEvent 
locationOnScreen], [navWindow frame]))) {
         area = kPDFNoArea;
     } else if (interactionMode == SKPresentationMode) {
-        area &= (kPDFPageArea | kPDFLinkArea);
+        area = (area & kPDFLinkArea) | kPDFPageArea;
     } else if ((modifiers == NSEventModifierFlagCommand || modifiers == 
(NSEventModifierFlagCommand | NSEventModifierFlagShift) || modifiers == 
(NSEventModifierFlagCommand | NSEventModifierFlagOption))) {
         area = (area & kPDFPageArea) | SKSpecialToolArea;
     } else if ((modifiers & NSEventModifierFlagCommand) == 0 && 
temporaryToolMode != SKNoToolMode) {

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