From 34ae087b854500782218bcb39301dea25143ae45 Mon Sep 17 00:00:00 2001 From: robertruzek <72918747+robertruzek@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:35:49 +0200 Subject: [PATCH] smooth scroll adjustment --- src/components/smooth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/smooth.tsx b/src/components/smooth.tsx index ad291d4..42e8c2e 100644 --- a/src/components/smooth.tsx +++ b/src/components/smooth.tsx @@ -4,7 +4,7 @@ function SmoothScrolling({ children }: { children: React.ReactNode }) { // lenis options for configuration const lenisOptions = { lerp: 0.1, - duration: 1.5, + duration: 1.2, smoothTouch: false, //smooth scroll for touch devices smooth: true, };