Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

tweak timeline demo

Julian Garnierae88bfc27b3a
diff --git a/documentation/examples/anime-timeline.html b/documentation/examples/anime-timeline.html
index 7152bd56..26ba5063 100644
--- a/documentation/examples/anime-timeline.html
+++ b/documentation/examples/anime-timeline.html
@@ -84,7 +84,7 @@
<button class="restart">Restart</button>
</div>
<div class="timeline">
- <input class="progress" type="range" min="0" max="100" value="0">
+ <input class="progress" type="range" min="0" max="100" step=".1" value="0">
</div>
</div>
@@ -149,8 +149,6 @@
complete: function() { console.log('animation 5 completed')}
});
- console.log(tl);
-
controlsProgressEl.addEventListener('input', function() {
tl.seek(tl.duration * (controlsProgressEl.value / 100));
});