diff --git a/TORoundedButton/TORoundedButton.m b/TORoundedButton/TORoundedButton.m index f0354c4..46de619 100644 --- a/TORoundedButton/TORoundedButton.m +++ b/TORoundedButton/TORoundedButton.m @@ -526,7 +526,7 @@ - (void)setEnabled:(BOOL)enabled { [super setEnabled:enabled]; - self.alpha = enabled ? 1 : 0.4; + self.containerView.alpha = enabled ? 1 : 0.4; } #pragma mark - Graphics Handling -