Revision: 15991
          http://sourceforge.net/p/skim-app/code/15991
Author:   hofman
Date:     2026-01-09 17:25:45 +0000 (Fri, 09 Jan 2026)
Log Message:
-----------
check simple property first

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-01-09 17:23:31 UTC (rev 15990)
+++ trunk/SKPDFView.m   2026-01-09 17:25:45 UTC (rev 15991)
@@ -2127,7 +2127,7 @@
             location = [self convertPoint:location toPage:page];
             for (PDFAnnotation *annotation in [[page annotations] 
reverseObjectEnumerator]) {
                 if ([annotation hitTest:location] &&
-                    ([pboard 
canReadItemWithDataConformingToTypes:@[NSPasteboardTypeColor]] || [annotation 
hasBorder])) {
+                    ([annotation hasBorder] || [pboard 
canReadItemWithDataConformingToTypes:@[NSPasteboardTypeColor]])) {
                     if (annotation != [highlightLayerController annotation]) {
                         if (highlightLayerController == nil)
                             [self makeHighlightLayerForType:SKLayerTypeRect];

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