Revision: 29166
          http://sourceforge.net/p/bibdesk/svn/29166
Author:   hofman
Date:     2025-04-22 14:13:29 +0000 (Tue, 22 Apr 2025)
Log Message:
-----------
Don't use unbordered highlights with underPageBackkgroundColor on 10.15-, as 
this is verry dark

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 
09:34:57 UTC (rev 29165)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-22 
14:13:29 UTC (rev 29166)
@@ -501,7 +501,7 @@
     if ([[color colorSpaceName] isEqualToString:NSNamedColorSpace] == NO || 
[[color catalogNameComponent] isEqualToString:@"System"] == NO)
         return NO;
     if ([[color colorNameComponent] hasSuffix:@"BackgroundColor"] || [[color 
colorNameComponent] hasSuffix:@"RowColor"])
-        return YES;
+        return floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_15 || 
[[color colorNameComponent] isEqualToString:@"underPageBackgroundColor"] == NO;
     return NO;
 }
 

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

Reply via email to