Make the animation smaller

This commit is contained in:
Robin Townsend 2022-05-31 23:41:05 -04:00
parent 2a69b72bed
commit 641e6c53b6

View file

@ -135,7 +135,7 @@ export const PTTButton: React.FC<Props> = ({
}, [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,