Revision: 28784 http://sourceforge.net/p/bibdesk/svn/28784 Author: hofman Date: 2024-02-21 00:08:31 +0000 (Wed, 21 Feb 2024) Log Message: ----------- take flipped into account in hitTest
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 22:51:31 UTC (rev 28783) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2024-02-21 00:08:31 UTC (rev 28784) @@ -5044,7 +5044,7 @@ - (NSView *)hitTest:(NSPoint)point { NSPoint p = [self convertPoint:point fromView:[self superview]]; for (NSView *view in [self subviews]) { - if (NSPointInRect(p, [view frame])) { + if ([self mouse:p inRect:[view frame]]) { NSView *hitView = [view hitTest:p]; if (hitView) return hitView; 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