Revision: 29181 http://sourceforge.net/p/bibdesk/svn/29181 Author: hofman Date: 2025-04-24 08:25:52 +0000 (Thu, 24 Apr 2025) Log Message: ----------- always update highlight view when updating selection rects, bounds can have changed
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-23 22:40:18 UTC (rev 29180) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-24 08:25:52 UTC (rev 29181) @@ -5182,15 +5182,13 @@ _layer = NULL; } -- (void)setHighlightRects:(NSArray *)array +- (void)setHighlightRects:(NSArray *)highlightRects { - if (array != _highlightRects) { - _highlightRects = [array copy]; - if (_highlightStyle == FVHighlightStyleTranslucent) - [self _updateMaskImage]; - else - [self setNeedsDisplay:YES]; - } + _highlightRects = [highlightRects copy]; + if (_highlightStyle == FVHighlightStyleTranslucent) + [self _updateMaskImage]; + else + [self setNeedsDisplay:YES]; } - (void)setHighlightStyle:(FVHighlightStyle)style 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