Revision: 29167
          http://sourceforge.net/p/bibdesk/svn/29167
Author:   hofman
Date:     2025-04-22 14:22:07 +0000 (Tue, 22 Apr 2025)
Log Message:
-----------
Draw visual effect view without transparency gray as default background on 
10.10+ hen we can't have a backgorund view

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:13:29 UTC (rev 29166)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-22 
14:22:07 UTC (rev 29167)
@@ -5078,6 +5078,10 @@
         [backgroundColor setFill];
         NSRectFillUsingOperation(rect, NSCompositingOperationSourceOver);
     }
+    else if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_9) {
+        [[NSColor colorWithCalibratedWhite:244.0 / 255.0 alpha:1.0] setFill];
+        NSRectFillUsingOperation(rect, NSCompositingOperationSourceOver);
+    }
     else {
         /*
          The NSTableView magic source list color no longer works properly on 
10.7, either

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