Revision: 15248
          http://sourceforge.net/p/skim-app/code/15248
Author:   hofman
Date:     2025-05-21 14:15:21 +0000 (Wed, 21 May 2025)
Log Message:
-----------
return directly when the page does not have annotations

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

Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m  2025-05-21 09:28:07 UTC (rev 15247)
+++ trunk/SKPresentationView.m  2025-05-21 14:15:21 UTC (rev 15248)
@@ -613,7 +613,7 @@
 }
 
 - (PDFAnnotation *)linkAnotationAtPoint:(NSPoint)point {
-    if (page == nil)
+    if ([[page annotations] count] == 0)
         return nil;
     
     point = [self convertPointToPage: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