From e874f955d5e90a34c178541b4ce74fdd3c2ac4e0 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 4 Oct 2023 10:56:09 -0500 Subject: [PATCH] Debug animations --- src/components/AnimateItems.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/components/AnimateItems.tsx b/src/components/AnimateItems.tsx index c650de48..946c7cc5 100644 --- a/src/components/AnimateItems.tsx +++ b/src/components/AnimateItems.tsx @@ -75,6 +75,24 @@ function AnimateItems({ } }; + console.log('Animation debug', { + type, + duration, + staggerDelay, + scaleOffset, + distanceOffset, + animateFromAppState, + animateOnFirstLoadOnly, + staggerOnFirstLoadOnly, + hasLoadedInitial, + nextPhotoAnimationInitial, + shouldAnimate, + shouldStagger, + typeResolved, + durationResolved, + initialVariant: getInitialVariant(), + }); + return (