Bump the animation size up a little bit more
This commit is contained in:
@@ -135,7 +135,7 @@ export const PTTButton: React.FC<Props> = ({
|
|||||||
}, [onWindowMouseUp, onWindowTouchEnd, onButtonTouchStart, buttonRef]);
|
}, [onWindowMouseUp, onWindowTouchEnd, onButtonTouchStart, buttonRef]);
|
||||||
|
|
||||||
const { shadow } = useSpring({
|
const { shadow } = useSpring({
|
||||||
shadow: (Math.max(activeSpeakerVolume, -70) + 70) * 0.5,
|
shadow: (Math.max(activeSpeakerVolume, -70) + 70) * 0.6,
|
||||||
config: {
|
config: {
|
||||||
clamp: true,
|
clamp: true,
|
||||||
tension: 300,
|
tension: 300,
|
||||||
|
|||||||
Reference in New Issue
Block a user