🎥 Make videos programmatically with React
`remotion`: Fix `spring()` overshoot clamping with custom ranges
Jonny Burger94e26b5182ac
diff --git a/packages/core/src/spring/index.ts b/packages/core/src/spring/index.tsindex 0b735fd193..ca358996c1 100644--- a/packages/core/src/spring/index.ts+++ b/packages/core/src/spring/index.ts@@ -84,9 +84,7 @@ export function spring({});const inner = config.overshootClamping- ? to >= from- ? Math.min(spr.current, to)- : Math.max(spr.current, to)+ ? Math.min(spr.current, 1): spr.current;const interpolated =