diff options
Diffstat (limited to 'apps/web/src/timeline/animation-properties.ts')
| -rw-r--r-- | apps/web/src/timeline/animation-properties.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/timeline/animation-properties.ts b/apps/web/src/timeline/animation-properties.ts index 31479a58..308f6cf0 100644 --- a/apps/web/src/timeline/animation-properties.ts +++ b/apps/web/src/timeline/animation-properties.ts @@ -8,6 +8,7 @@ import type { } from "@/animation/types"; import { upsertPathKeyframe } from "@/animation"; import { parseColorToLinearRgba } from "@/animation/binding-values"; +import type { MediaTime } from "@/wasm"; import { isAnimationPropertyPath } from "@/animation/path"; import { MIN_TRANSFORM_SCALE } from "@/animation/transform"; import { snapToStep } from "@/utils/math"; @@ -393,7 +394,7 @@ export function upsertElementKeyframe({ }: { animations: ElementAnimations | undefined; propertyPath: AnimationPropertyPath; - time: number; + time: MediaTime; value: AnimationValue; interpolation?: AnimationInterpolation; keyframeId?: string; |
