Revision: 27818
          http://sourceforge.net/p/bibdesk/svn/27818
Author:   hofman
Date:     2022-08-21 08:56:20 +0000 (Sun, 21 Aug 2022)
Log Message:
-----------
sharper border around rating button in high contrast appearance

Modified Paths:
--------------
    trunk/bibdesk/BDSKRatingButtonCell.m

Modified: trunk/bibdesk/BDSKRatingButtonCell.m
===================================================================
--- trunk/bibdesk/BDSKRatingButtonCell.m        2022-08-20 21:27:12 UTC (rev 
27817)
+++ trunk/bibdesk/BDSKRatingButtonCell.m        2022-08-21 08:56:20 UTC (rev 
27818)
@@ -349,6 +349,8 @@
             borderColor = [NSColor colorWithGenericGamma22White:0.7 alpha:1.0];
             [[NSColor colorWithGenericGamma22White:1.0 alpha:1.0] setFill];
         }
+        if (BDSKHasHighContrastAppearance(nil))
+            borderColor = [NSColor controlTextColor];
                [NSBezierPath fillRect:buttonRect];
                [borderColor setStroke];
                [NSBezierPath setDefaultLineWidth:1.0];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to