Make the animation smaller
This commit is contained in:
parent
2a69b72bed
commit
641e6c53b6
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue