We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662b1e7 commit 320c2e8Copy full SHA for 320c2e8
apps/common-app/src/apps/reanimated/examples/BouncingBoxExample.tsx
@@ -27,7 +27,7 @@ export default function BouncingBoxExample() {
27
);
28
})
29
.onFinalize(() => {
30
- offset.value = withSpring(0, { mass: 2, stiffness: 500 });
+ offset.value = withSpring(0, { damping: 20 });
31
});
32
33
const rotation = Gesture.Rotation()
@@ -40,7 +40,7 @@ export default function BouncingBoxExample() {
40
41
42
43
- angle.value = withSpring(0, { mass: 2, stiffness: 500 });
+ angle.value = withSpring(0, { damping: 20 });
44
45
46
const animatedStyles = useAnimatedStyle(() => {
0 commit comments