Revision: 29102
          http://sourceforge.net/p/bibdesk/svn/29102
Author:   hofman
Date:     2025-04-14 09:07:26 +0000 (Mon, 14 Apr 2025)
Log Message:
-----------
Use super for hitTest: override

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

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-06 
16:38:39 UTC (rev 29101)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-14 
09:07:26 UTC (rev 29102)
@@ -5062,15 +5062,8 @@
 - (BOOL)isFlipped { return YES; }
 
 - (NSView *)hitTest:(NSPoint)point {
-    NSPoint p = [self convertPoint:point fromView:[self superview]];
-    for (NSView *view in [self subviews]) {
-        if ([self mouse:p inRect:[view frame]]) {
-            NSView *hitView = [view hitTest:p];
-            if (hitView)
-                return hitView;
-        }
-    }
-    return nil;
+    NSView *view = [super hitTest:point];
+    return view == self ? nil : view;
     
 }
 

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to