Revision: 15082
          http://sourceforge.net/p/skim-app/code/15082
Author:   hofman
Date:     2025-04-04 14:48:06 +0000 (Fri, 04 Apr 2025)
Log Message:
-----------
reduce highlight around text color swatch

Modified Paths:
--------------
    trunk/SKFontWell.m

Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m  2025-04-04 09:34:47 UTC (rev 15081)
+++ trunk/SKFontWell.m  2025-04-04 14:48:06 UTC (rev 15082)
@@ -444,10 +444,10 @@
         [NSGraphicsContext saveGraphicsState];
         [[self textColor] drawSwatchInRect:rect];
         if (SKHasDarkAppearance()) {
-            [[NSColor colorWithGenericGamma22White:1.0 alpha:0.55] setStroke];
+            [[NSColor colorWithGenericGamma22White:1.0 alpha:0.5] setStroke];
             [[NSGraphicsContext currentContext] 
setCompositingOperation:NSCompositingOperationScreen];
         } else {
-            [[NSColor colorWithGenericGamma22White:0.0 alpha:0.55] setStroke];
+            [[NSColor colorWithGenericGamma22White:0.0 alpha:0.5] setStroke];
             [[NSGraphicsContext currentContext] 
setCompositingOperation:NSCompositingOperationMultiply];
         }
         [NSBezierPath strokeRect:NSInsetRect(rect, 0.5, 0.5)];

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to