Revision: 28782
          http://sourceforge.net/p/bibdesk/svn/28782
Author:   hofman
Date:     2024-02-20 22:15:13 +0000 (Tue, 20 Feb 2024)
Log Message:
-----------
hit button whenit may be covered by other ignored view

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-20 
19:18:42 UTC (rev 28781)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-20 
22:15:13 UTC (rev 28782)
@@ -5044,8 +5044,11 @@
 - (NSView *)hitTest:(NSPoint)point {
     NSPoint p = [self convertPoint:point fromView:[self superview]];
     for (NSView *view in [self subviews]) {
-        if (NSPointInRect(p, [view frame]))
-            return [view hitTest:p];
+        if (NSPointInRect(p, [view frame])) {
+            NSView *hitView = [view hitTest:p];
+            if (hitView)
+                return hitView;
+        }
     }
     return nil;
     

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to