Revision: 23963
http://sourceforge.net/p/bibdesk/svn/23963
Author: hofman
Date: 2019-07-07 21:55:26 +0000 (Sun, 07 Jul 2019)
Log Message:
-----------
remove tracking rects from fileview before relayout, otherwise mouseEntered can
be called when the mouse is inside an area
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2019-07-07
21:32:01 UTC (rev 23962)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2019-07-07
21:55:26 UTC (rev 23963)
@@ -1641,6 +1641,9 @@
- (void)_resetViewLayout;
{
+ // When the tracking rects are active while the view is layed out,
mouseEntered may be called even if the mouse does not move. So we remove them
before doing the layout. We will reinstall them at the end of this method.
+ [self _discardTrackingRectsAndToolTips];
+
// Problem exposed in BibDesk: select all, scroll halfway down in file
pane, then change selection to a single row. FVFileView content didn't update
correctly, even though reloadIcons was called. Logging drawRect: indicated
that the wrong region was being updated, but calling _recalculateGridSize here
fixed it.
[self _recalculateGridSize];
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