aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation/Timeline.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-07 22:42:38 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-11-07 22:42:38 +0100
commitdec70426b32ccf3979046e1637174b66bfdd1a8d (patch)
tree0f64a1803294f55f04d6f4a281845fcd3d1b151a /src/animation/Timeline.js
parent9c3f0e89c9c4d4d999f3b54032202e187ab4ac1c (diff)
downloadsvg.js-dec70426b32ccf3979046e1637174b66bfdd1a8d.tar.gz
svg.js-dec70426b32ccf3979046e1637174b66bfdd1a8d.zip
clone() does not insert the clone into the dom anymore, added beziere() and steps() to generate easing functions
Diffstat (limited to 'src/animation/Timeline.js')
-rw-r--r--src/animation/Timeline.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/animation/Timeline.js b/src/animation/Timeline.js
index 619e50a..3a731cb 100644
--- a/src/animation/Timeline.js
+++ b/src/animation/Timeline.js
@@ -183,7 +183,6 @@ export default class Timeline {
if (this._paused) return
// Get the time delta from the last time and update the time
- // TODO: Deal with window.blur window.focus to pause animations
var time = this._timeSource()
var dtSource = time - this._lastSourceTime
var dtTime = this._speed * dtSource + (this._time - this._lastStepTime)