Revision: 29169 http://sourceforge.net/p/bibdesk/svn/29169 Author: hofman Date: 2025-04-22 14:48:50 +0000 (Tue, 22 Apr 2025) Log Message: ----------- lighter default background color in non key and main window
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-22 14:31:26 UTC (rev 29168) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-22 14:48:50 UTC (rev 29169) @@ -5079,7 +5079,11 @@ NSRectFillUsingOperation(rect, NSCompositingOperationSourceOver); } else if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_9) { - [[NSColor colorWithCalibratedWhite:218.0 / 255.0 alpha:1.0] setFill]; + if ([window isKeyWindow] || [window isMainWindow]) { + [[NSColor colorWithCalibratedWhite:218.0 / 255.0 alpha:1.0] setFill]; + } else { + [[NSColor colorWithCalibratedWhite:226.0 / 255.0 alpha:1.0] setFill]; + } NSRectFillUsingOperation(rect, NSCompositingOperationSourceOver); } else { 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