diff options
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor/panels/properties/hooks/use-keyframed-param-property.ts | 8 |
1 files changed, 2 insertions, 6 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 dc1ad9ca..0a0f7db0 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 @@ -13,8 +13,7 @@ import type { } from "@/animation/types"; import { coerceParamValue, - getParamDefaultInterpolation, - getParamValueKind, + getParamChannelLayout, type ParamDefinition, } from "@/params"; import type { TimelineElement } from "@/timeline"; @@ -86,10 +85,7 @@ export function useKeyframedParamProperty({ propertyPath: resolvedPropertyPath, time: localTime, value, - kind: getParamValueKind({ param }), - defaultInterpolation: getParamDefaultInterpolation({ - param, - }), + channelLayout: getParamChannelLayout({ param }), coerceValue: ({ value: nextValue }) => coerceParamValue({ param, |
