diff options
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -337,6 +337,8 @@ SVG.FX = SVG.invent({ // set/get the speed of the animation , speed: function(spd){ + if (spd === 0) return this.pause() + if (spd) { this.spd = spd return this.at(this.situation.reversed ? 1-this.pos : this.pos) |