zoonooz / ZFRippleButton

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

Ripple doesn't update if frame changes #4

Closed mxcl closed 10 years ago

mxcl commented 10 years ago

I usually set my frames to CGRectZero on initialize and update the frame later based on the size of the text in the button.

If I work that way, the ripple doesn't show.

zoonooz commented 10 years ago

Thanks! for report @mxcl , I will take a look. :eyes: