From 641e6c53b6b178a01da8fbc80880edc78b758d02 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Tue, 31 May 2022 23:41:05 -0400 Subject: [PATCH] Make the animation smaller --- src/room/PTTButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/PTTButton.tsx b/src/room/PTTButton.tsx index 07db646..e2eb2fe 100644 --- a/src/room/PTTButton.tsx +++ b/src/room/PTTButton.tsx @@ -135,7 +135,7 @@ export const PTTButton: React.FC = ({ }, [onWindowMouseUp, onWindowTouchEnd, onButtonTouchStart, buttonRef]); const { shadow } = useSpring({ - shadow: (Math.max(activeSpeakerVolume, -70) + 70) * 0.7, + shadow: (Math.max(activeSpeakerVolume, -70) + 70) * 0.5, config: { clamp: true, tension: 300,