Revision: 28785 http://sourceforge.net/p/bibdesk/svn/28785 Author: hofman Date: 2024-02-21 09:53:42 +0000 (Wed, 21 Feb 2024) Log Message: ----------- use mouse:inRect: instead of NSPointInRect
Modified Paths: -------------- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView Program/Controller.m Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2024-02-21 00:08:31 UTC (rev 28784) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2024-02-21 09:53:42 UTC (rev 28785) @@ -1645,7 +1645,7 @@ _topSliderArea = [[NSTrackingArea alloc] initWithRect:sliderRect options:options owner:self userInfo:nil]; [self addTrackingArea:_topSliderArea]; sliderRect = NSIntersectionRect([self _bottomSliderRect], visibleRect); - if (NSPointInRect(mouseLoc, sliderRect)) + if ([self mouse:mouseLoc inRect:sliderRect]) options |= NSTrackingAssumeInside; else options &= ~NSTrackingAssumeInside; Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView Program/Controller.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView Program/Controller.m 2024-02-21 00:08:31 UTC (rev 28784) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView Program/Controller.m 2024-02-21 09:53:42 UTC (rev 28785) @@ -217,7 +217,7 @@ divRect.size.height = [self dividerThickness]; } - if (NSPointInRect(mouseLoc, divRect)) { + if ([self mouse:ouseLoc inRect:divRect]) { inDivider = YES; break; } 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