Skip to content

Commit 53066fb

Browse files
committed
Fixed lack of background color update.
1 parent 5451274 commit 53066fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/Buttons/src/MDCButton.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ - (UIColor *)backgroundColorForState:(UIControlState)state {
437437

438438
- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state {
439439
_backgroundColors[@(state)] = backgroundColor;
440+
[self updateAlphaAndBackgroundColorAnimated:NO];
440441
}
441442

442443
#pragma mark - Elevations

0 commit comments

Comments
 (0)