diff --git a/apps/website/src/components/SmoothScroll.svelte b/apps/website/src/components/SmoothScroll.svelte index 4335107..74cef26 100644 --- a/apps/website/src/components/SmoothScroll.svelte +++ b/apps/website/src/components/SmoothScroll.svelte @@ -11,7 +11,7 @@ if (browser) { $smoothScroll = new Lenis({ duration: 1.2, - easing: (t: number) => (t === 1 ? 1 : 1 - Math.pow(2, -10 * t)), // https://easings.net/ + easing: (t: number) => Math.min(1, 1.001 - Math.pow(2, -10 * t)), // https://easings.net/ smoothWheel: true, orientation: 'vertical', })