Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Fix children synching

Julian Garnierf2b512972e0f
diff --git a/src/index.js b/src/index.js
index 6cb75f57..b0e85e2e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1058,7 +1058,7 @@ function anime(params = {}) {
if ((insTime >= insDuration && instance.currentTime !== insDuration) || !insDuration) {
setAnimationsProgress(insDuration);
}
- if (instance.currentTime <= insDelay && instance.currentTime !== 0) {
+ if (insTime <= insDelay && instance.currentTime !== 0) {
setAnimationsProgress(0);
}
}