lexrus / LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
MIT License
8.07k stars 782 forks source link

Fix animation stop problem. It happen for duplicate text set call #51

Closed hadashiA closed 8 years ago

hadashiA commented 8 years ago

When I set the same text before the animation is finished, it will stop.

morphingLabel.text = "aaa"
morphingLabel.text = "aaa" // Drawing text is in progress. But CADisplayLink stopped

I think this is an unintended behavior. I have been fix it.

lexrus commented 8 years ago

Thanks.