michaelvillar / dynamics.js

Javascript library to create physics-based animations
http://dynamicsjs.com
7.57k stars 414 forks source link

Complete callback not correct? #38

Open ingomc opened 7 years ago

ingomc commented 7 years ago

I'm trying to use dynamics.js and in my example i'm using it with hammer.js.

Everything works so far, but the complete-callback fires when animate starts, not when it ends.

I have the example on codepen Codpenexample

Do i do something wrong or is it a bug?