From d965cb6dde6b7b3d4e09a8ad8205070ed007114a Mon Sep 17 00:00:00 2001 From: ALi Date: Sun, 8 May 2022 17:14:59 +0200 Subject: [PATCH] fix: Lower scroll speed --- src/pages/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 26fd51c..64f7c58 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -641,13 +641,13 @@ export default function Home() { if (measure < thr) { scrollInSound.current.play() set.start(() => ({ - pos: [0, 0, from - 2], + pos: [0, 0, from - 1], rotation: [cam.current.rotation.x, cam.current.rotation.y, r] })) } else { scrollOutSound.current.play() set.start(() => ({ - pos: [0, 0, from + 2], + pos: [0, 0, from + 1], rotation: [cam.current.rotation.x, cam.current.rotation.y, r] })) }