Revision: 29136
          http://sourceforge.net/p/bibdesk/svn/29136
Author:   hofman
Date:     2025-04-19 09:01:40 +0000 (Sat, 19 Apr 2025)
Log Message:
-----------
Use dark backgroundstyle rather than different color for files with label

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-18 
16:29:46 UTC (rev 29135)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-19 
09:01:40 UTC (rev 29136)
@@ -2515,12 +2515,11 @@
                             labelRect.size.height = titleHeight;
                             [FVFinderLabel drawFinderLabelHighlight:label 
inRect:labelRect];
                             
-                            // labeled title uses black text for greater 
contrast; inset horizontally because of the rounded end caps
+                            // labeled title uses white text for greater 
contrast; inset horizontally because of the rounded end caps
                             // @@ Dark mode
-                            NSColor *titleColor = [_titleCell textColor];
-                            [_titleCell setTextColor:[NSColor 
controlTextColor]];
+                            [_titleCell 
setBackgroundStyle:NSBackgroundStyleDark];
                             [_titleCell drawWithFrame:NSInsetRect(textRect, 
titleHeight / 2.0, 0.0) inView:self];
-                            [_titleCell setTextColor:titleColor];
+                            [_titleCell 
setBackgroundStyle:NSBackgroundStyleLight];
                         }
                         else {
                             [_titleCell drawWithFrame:textRect inView:self];

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