Revision: 28333
http://sourceforge.net/p/bibdesk/svn/28333
Author: hofman
Date: 2023-08-01 14:14:07 +0000 (Tue, 01 Aug 2023)
Log Message:
-----------
don't pass assume inside flag
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m 2023-07-20
14:47:29 UTC (rev 28332)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m 2023-08-01
14:14:07 UTC (rev 28333)
@@ -367,7 +367,7 @@
for (c = 0; c < nc; c++) {
- NSTrackingAreaOptions options = NSTrackingMouseEnteredAndExited |
NSTrackingActiveInKeyWindow | NSTrackingAssumeInside;
+ NSTrackingAreaOptions options = NSTrackingMouseEnteredAndExited |
NSTrackingActiveInKeyWindow;
NSRect cellFrame = [self cellFrameAtRow:r column:c];
NSTrackingArea *area = [[NSTrackingArea alloc]
initWithRect:cellFrame options:options owner:self userInfo:nil];
[self addTrackingArea:area];
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2023-07-20
14:47:29 UTC (rev 28332)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2023-08-01
14:14:07 UTC (rev 28333)
@@ -1638,15 +1638,6 @@
if (NSIsEmptyRect(rect) == NO) {
// Finder doesn't show buttons unless it's the front app.
If Finder is the front app, it shows them for any window, regardless of
main/key state, so we'll do the same.
- BOOL mouseInside = NSPointInRect(mouseLoc, rect);
-
- if (mouseInside) {
- mouseIndex = i;
- options |= NSTrackingAssumeInside;
- } else {
- options &= ~NSTrackingAssumeInside;
- }
-
NSTrackingArea *area = [[NSTrackingArea alloc]
initWithRect:rect options:options owner:self userInfo:nil];
[self addTrackingArea:area];
[_trackingAreas addObject:area];
@@ -1672,10 +1663,6 @@
if (_fvFlags.displayMode == FVDisplayModeGrid) {
NSRect sliderRect = NSIntersectionRect([self _topSliderRect],
visibleRect);
- if (NSPointInRect(mouseLoc, sliderRect))
- options |= NSTrackingAssumeInside;
- else
- options &= ~NSTrackingAssumeInside;
_topSliderArea = [[NSTrackingArea alloc] initWithRect:sliderRect
options:options owner:self userInfo:nil];
[self addTrackingArea:_topSliderArea];
sliderRect = NSIntersectionRect([self _bottomSliderRect],
visibleRect);
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