From 36f6c89f0dd6410202dbbe1b026e24ff796d803a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 6 Apr 2020 18:18:14 +0200 Subject: [PATCH] TitleSite: Try to fix this delay on init? --- src/animations/TitleSite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animations/TitleSite.js b/src/animations/TitleSite.js index ee5424f..31ca3be 100644 --- a/src/animations/TitleSite.js +++ b/src/animations/TitleSite.js @@ -13,7 +13,7 @@ export const animateIn = (scope, init) => { translateY: ['100%', 0], easing: 'easeOutQuart', duration: 1000, - delay: anime.stagger(40, { start: init ? 0 : animDelay }), + delay: anime.stagger(40, { start: !!init ? animDelay : 0 }), autoplay: false })