[openstreetmap/openstreetmap-website] Animations for traces (#2132)
notifications at github.com
Wed Apr 3 11:00:27 UTC 2019
res << GD2::AnimatedGif.gif_anim_add(frames[n], frames[n - 1], delay)
res << GD2::AnimatedGif.gif_anim_add(frames[n], frames[n - 1], delay) unless frames[n] == frames[n - 1]
lets the unit tests pass. For whatever reason gif_anim_add isn't happy with two identical images in a row. This feels a bit like a hack, and I don't know yet what is caused this behavior.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev