summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/components/editor')
-rw-r--r--apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts b/apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts
index c044ff5f..29b290d9 100644
--- a/apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts
+++ b/apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts
@@ -83,7 +83,7 @@ export function useKeyframedParamProperty({
defaultInterpolation: getParamDefaultInterpolation({
param,
}),
- coerceValue: (nextValue) =>
+ coerceValue: ({ value: nextValue }) =>
coerceAnimationValueForParam({
param,
value: nextValue,