From 56545bc3a3ac72558d265767a399d8d6390a368c Mon Sep 17 00:00:00 2001 From: Backwards Date: Thu, 16 Jan 2025 05:17:51 +0000 Subject: [PATCH] Fixed Tracker --- src/lib/components/Common/Tracker.svelte | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/components/Common/Tracker.svelte b/src/lib/components/Common/Tracker.svelte index 3cd06a5..ccadc52 100644 --- a/src/lib/components/Common/Tracker.svelte +++ b/src/lib/components/Common/Tracker.svelte @@ -7,8 +7,6 @@ slides, includeFirst = true; - console.log(page, slides, includeFirst); - let newSlides = includeFirst ? slides : slides.slice(1); let pageSection = sectionStore[page]; @@ -17,12 +15,9 @@ onMount(() => { pageSection.subscribe((cs) => { - console.log(cs); currentSection = cs; }); }); - - // let currentSection = 0 {#if includeFirst ? currentSection >= 0 : currentSection > 0} @@ -31,7 +26,7 @@ out:fly={{ x: 50, duration: 300 }} class="tracker" > - {#each slides as _, i} + {#each newSlides as _, i}