zoonooz / ZFRippleButton

Custom UIButton effect inspired by Google Material Design
MIT License
1.41k stars 110 forks source link

when starts ripple, button what has rounded corners displayed as squared #8

Closed team55 closed 9 years ago

team55 commented 10 years ago

subj

team55 commented 10 years ago

if not set ripple color (only button color) works fine

team55 commented 10 years ago
@IBInspectable var buttonCornerRadius: Float = 0 {
    didSet{
        layer.cornerRadius = CGFloat(buttonCornerRadius)
        rippleBackgroundView.layer.cornerRadius = CGFloat(buttonCornerRadius)
    }
}
zoonooz commented 10 years ago

@team55 I cannot reproduce this. Did you try it on demo project.