Closed sampage closed 10 years ago
Hey thank you for the pull request! I wrote this so long ago that I don't remember if I had a reason for this (I can only think that the "all animations" option may have something to do this with it) or simply that at that time I was still following this bad practice :) In any case this is a better implementation, so thanks!
Hey Nacho,
I spotted this just after we had the discussion over at https://gist.github.com/d-ronnqvist/11266321 about removedOnCompletion. I believe this fixes the issue where the layer model remains unchanged despite the animation.
I wasn't sure whether to send this pull request as it looks like this code is no longer maintained and I don't want to come across as a jerk, just wanted to help spread (what I now know is) the correct way :)
Cheers.
Sam.