adobe-webplatform / Snap.svg

The JavaScript library for modern SVG graphics.
http://snapsvg.io
Apache License 2.0
13.91k stars 1.15k forks source link

Animated clock that worked for version 0.3.0 is failing with version 0.5.1 #666

Open yashchie opened 2 years ago

yashchie commented 2 years ago

The clock works OK for 0.3 and its URL is: https://oreillymedia.github.io/svg-essentials-examples/ch14/snap_animated_clock.svg

I copied the source to my own directory, and used it with snap.svg-min.js version 0.5.1. The animation failed: the minuteHand and hourHand are working OK, but the secondHand is not moving. I also saw this failure manifesting itself differently: the minuteHand was getting detached from the clock and shifting away.

ibrierley commented 2 years ago

Try 0.5.2 (you will need to check out the dev branch I think).