Fixed: [CPControl setTextColor:] was missing theme state attribute (#2828)

This commit is contained in:
Didier Korthoudt
2020-03-11 10:20:04 +01:00
committed by GitHub
parent a4ef18ddab
commit 8003d91c4a
+1 -1
View File
@@ -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]];
}
/*!