davidmz / apng-canvas

APNG implementation on canvas.
https://davidmz.github.io/apng-canvas/
MIT License
668 stars 93 forks source link

bugfix about animation.js #11

Closed kawasako closed 5 years ago

kawasako commented 8 years ago

Hello, @davidmz -san. apng-canvas is nice solution to us. I got a little bug, when I used this library.

  1. When scrolling in mobile browsers apng-animation is skipped because stopped javascript. So, I reset nextRenderTime when there is a difference in the nextRenderTime and Date.now.
  2. Finished flag finished changed to true, when played changed to false.

And I needed currentTime. So I added getTime function. Thanks.

kawasako commented 5 years ago

Close because there is no progress for a long time. Thanks.