fix animation
This commit is contained in:
1 parent
f0bbcbc72f
commit
657f356590
10 files changed
+16046
-99
No files matched your search
@@ -1,7 +1,6 @@
|
||||
function animate(element, end, duration = 500) {
|
||||
// console.log("hallo", element, end);
|
||||
|
||||
var element = document.getElementById(element);
|
||||
|
||||
const startTime = performance.now();
|
||||
|
||||
// Cubic easing function: slows down at the start and end
|
||||
|
||||
Reference in new issue
Block a user