diff options
-rw-r--r-- | src/runner.js | 2 | ||||
-rw-r--r-- | src/timeline.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runner.js b/src/runner.js index bfe8a13..fa3df5e 100644 --- a/src/runner.js +++ b/src/runner.js @@ -162,7 +162,7 @@ SVG.Runner = SVG.invent({ // If there is no duration, we are in declarative mode and dt has to be // positive always, so if its negative, we ignore it. - if ( this._stepper && dt < 0 ) return false + if ( this._isDeclarative && dt < 0 ) return false // Increment the time and read out the parameters var duration = this._duration diff --git a/src/timeline.js b/src/timeline.js index 7de9c00..5bdcb55 100644 --- a/src/timeline.js +++ b/src/timeline.js @@ -147,7 +147,7 @@ SVG.Timeline = SVG.invent({ // TODO: Throw error } - runner.time(absoluteStartTime) + runner.time(-absoluteStartTime) this._startTime = absoluteStartTime + runner._duration this._runners.push(runner) |