From b65f85a0043c3f9942539da0eaec6221fe79e4ba Mon Sep 17 00:00:00 2001 From: itaak Date: Fri, 2 Aug 2024 13:40:07 +0200 Subject: [PATCH] deploy --- src/components/atoms/Smile.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/atoms/Smile.svelte b/src/components/atoms/Smile.svelte index 5d88a6b..cde4234 100644 --- a/src/components/atoms/Smile.svelte +++ b/src/components/atoms/Smile.svelte @@ -23,7 +23,7 @@ $: { const beta = $deviceOrientation.beta ?? 0; const gamma = $deviceOrientation.gamma ?? 0; - let restBeta = beta / 2; + let restBeta = beta; const normalizedBeta = (beta - restBeta) / (betaRange / 2); const normalizedGamma = (gamma - restGamma) / gammaRange;