FIXED: Before this PR, CPButton setImage was also changing the alternate image

This commit is contained in:
Didier Korthoudt authored and cacaodev committed 2018-05-04 16:16:01 +02:00
1 parent ecc82b5b51
commit 94ac8fd837
1 file changed
+1 -1
+1 -1
View File
@@ -378,7 +378,7 @@ CPButtonImageOffset = 3.0;
- (void)setImage:(CPImage)anImage
{
[self setValue:anImage forThemeAttribute:@"image"];
[self setValue:anImage forThemeAttribute:@"image" inState:CPThemeStateNormal];
}
- (CPImage)image