From 8003d91c4abf992bbfdae2f040d2c031de87078f Mon Sep 17 00:00:00 2001 From: Didier Korthoudt Date: Wed, 11 Mar 2020 10:20:04 +0100 Subject: [PATCH] Fixed: [CPControl setTextColor:] was missing theme state attribute (#2828) --- AppKit/CPControl.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPControl.j b/AppKit/CPControl.j index 4efbb4ffc..790a74e3f 100644 --- a/AppKit/CPControl.j +++ b/AppKit/CPControl.j @@ -849,7 +849,7 @@ var CPControlBlackColor = [CPColor blackColor]; */ - (void)setTextColor:(CPColor)aColor { - [self setValue:aColor forThemeAttribute:@"text-color"]; + [self setValue:aColor forThemeAttribute:@"text-color" inState:[self themeState]]; } /*!