Revision: 14367
http://sourceforge.net/p/skim-app/code/14367
Author: hofman
Date: 2024-07-09 09:28:39 +0000 (Tue, 09 Jul 2024)
Log Message:
-----------
Use systemGrayColor instead of grayColor for inactive selection highlight
Modified Paths:
--------------
trunk/NSColor_SKExtensions.m
Modified: trunk/NSColor_SKExtensions.m
===================================================================
--- trunk/NSColor_SKExtensions.m 2024-07-08 14:36:39 UTC (rev 14366)
+++ trunk/NSColor_SKExtensions.m 2024-07-09 09:28:39 UTC (rev 14367)
@@ -61,7 +61,7 @@
NSAppearance *appearance = [NSAppearance currentAppearance];
[NSAppearance setCurrentAppearance:[NSAppearance
appearanceNamed:NSAppearanceNameAqua]];
activeOut = [[NSColor selectedContentBackgroundColor]
colorUsingColorSpace:colorSpace];
- inactiveOut = [[NSColor grayColor] colorUsingColorSpace:colorSpace];
+ inactiveOut = [[NSColor systemGrayColor]
colorUsingColorSpace:colorSpace];
activeIn = [[[[NSColor selectedContentBackgroundColor]
colorUsingColorSpace:colorSpace] highlightWithLevel:0.66667]
colorWithAlphaComponent:0.8];
inactiveIn = [[[NSColor unemphasizedSelectedContentBackgroundColor]
colorUsingColorSpace:colorSpace] colorWithAlphaComponent:0.8];
[NSAppearance setCurrentAppearance:appearance];
@@ -68,7 +68,8 @@
} else {
NSColorSpace *colorSpace = [NSColorSpace genericRGBColorSpace];
activeOut = [[NSColor alternateSelectedControlColor]
colorUsingColorSpace:colorSpace];
- inactiveOut = [[NSColor grayColor] colorUsingColorSpace:colorSpace];
+ inactiveOut = [[NSColor
+ systemGrayColor] colorUsingColorSpace:colorSpace];
activeIn = [[[[NSColor alternateSelectedControlColor]
colorUsingColorSpace:colorSpace] highlightWithLevel:0.66667]
colorWithAlphaComponent:0.8];
inactiveIn = [[[NSColor secondarySelectedControlColor]
colorUsingColorSpace:colorSpace] colorWithAlphaComponent:0.8];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit