Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

No need to check for activeInstance since everything is removed on the next frame

Julian Garnier22f858f99cba
diff --git a/anime.js b/anime.js
index 0961700a..e4c05bdb 100644
--- a/anime.js
+++ b/anime.js
@@ -687,7 +687,7 @@
if (activeLength) {
let i = 0;
while (i < activeLength) {
- if (activeInstances[i]) activeInstances[i].tick(t);
+ activeInstances[i].tick(t);
i++;
}
play();