Revision: 29162 http://sourceforge.net/p/bibdesk/svn/29162 Author: hofman Date: 2025-04-21 15:29:38 +0000 (Mon, 21 Apr 2025) Log Message: ----------- combine method calls
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-21 15:22:02 UTC (rev 29161) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-21 15:29:38 UTC (rev 29162) @@ -1109,10 +1109,7 @@ - (void)_handleKeyOrMainStateNotification:(NSNotification *)note { if (_backgroundColor == nil) { - if (_backgroundView == nil) - [self setNeedsDisplay:YES]; - else - [_backgroundView setNeedsDisplay:YES]; + [_backgroundView ?: self setNeedsDisplay:YES]; } } 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