Revision: 24133
          http://sourceforge.net/p/bibdesk/svn/24133
Author:   hofman
Date:     2019-08-15 14:58:32 +0000 (Thu, 15 Aug 2019)
Log Message:
-----------
use system gray color for rating button

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

Modified: trunk/bibdesk/BDSKRatingButtonCell.m
===================================================================
--- trunk/bibdesk/BDSKRatingButtonCell.m        2019-08-15 14:54:57 UTC (rev 
24132)
+++ trunk/bibdesk/BDSKRatingButtonCell.m        2019-08-15 14:58:32 UTC (rev 
24133)
@@ -327,7 +327,7 @@
        [NSGraphicsContext saveGraphicsState];
        
        if ([self isBordered]) {
-        color = [NSColor grayColor];
+        color = [NSColor systemGrayColor];
         if ([self isEnabled] == NO)
             color = [color colorWithAlphaComponent:0.5];
         borderColor = [NSColor colorWithCalibratedAquaWhite:0.66667 alpha:1.0 
darkAquaWhite:0.33333 alpha:1.0];
@@ -338,7 +338,7 @@
                [NSBezierPath strokeRect:NSInsetRect(buttonRect, 0.5, 0.5)];
                NSRectClip(NSInsetRect(buttonRect, 2.0, 2.0));
     } else {
-        color = ([self backgroundStyle] == NSBackgroundStyleDark) ? [NSColor 
selectedControlTextColor] : [NSColor grayColor];
+        color = ([self backgroundStyle] == NSBackgroundStyleDark) ? [NSColor 
selectedControlTextColor] : [NSColor systemGrayColor];
         selected = YES;
     }
     

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