Revision: 15133
          http://sourceforge.net/p/skim-app/code/15133
Author:   hofman
Date:     2025-04-14 14:01:45 +0000 (Mon, 14 Apr 2025)
Log Message:
-----------
return nil from hitTest: for subviews of color swatch used for drawing

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2025-04-14 08:48:44 UTC (rev 15132)
+++ trunk/SKColorSwatch.m       2025-04-14 14:01:45 UTC (rev 15133)
@@ -903,6 +903,10 @@
 
 - (void)performClick:(id)sender {}
 
+- (NSView *)hitTest:(NSPoint)point {
+    return nil;
+}
+
 - (BOOL)isAccessibilityElement {
     return NO;
 }
@@ -1034,6 +1038,10 @@
     [NSGraphicsContext restoreGraphicsState];
 }
 
+- (NSView *)hitTest:(NSPoint)point {
+    return nil;
+}
+
 - (BOOL)isAccessibilityElement {
     return YES;
 }

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