summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSaivan <savian@me.com>2018-07-11 16:39:37 +1000
committerSaivan <savian@me.com>2018-07-11 16:39:37 +1000
commitee38cefead9c2803db3a4076a505b8b9eb3947e8 (patch)
treedf92859ac8d96f3533002df9bc398e174860ade4 /src
parentc9e9e089e590159d5e74a23c191e4d4c940fa47a (diff)
downloadsvg.js-ee38cefead9c2803db3a4076a505b8b9eb3947e8.tar.gz
svg.js-ee38cefead9c2803db3a4076a505b8b9eb3947e8.zip
Added a simple example for relative declarative animations
This commit adds an example that demonstrates how I'd imagine declarative animations should work and how they should mirror what imperative animations would do Changes ======= - Added a simple declarative example
Diffstat (limited to 'src')
-rw-r--r--src/runner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner.js b/src/runner.js
index ceb42fe..e82d641 100644
--- a/src/runner.js
+++ b/src/runner.js
@@ -654,8 +654,8 @@ SVG.extend(SVG.Runner, {
// add the runner to the element so it can merge transformations
element.addRunner(this)
+ // Deactivate all transforms that have run so far if we are absolute
if (!relative) {
- // Deactivate all transforms that have run so far if we are absolute
element._clearTransformRunnersBefore(this)
}