From c411edb7c160c55e94fddf62fd60fa1e166351c0 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 6 Apr 2026 12:59:07 +0200 Subject: fix: clean up --- apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web/src/lib/commands/timeline') diff --git a/apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts b/apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts index 71b2ac21..35aa0860 100644 --- a/apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts +++ b/apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts @@ -79,7 +79,7 @@ function removeKeyframeAndPersist({ const shouldPersistToBase = isChannelNowEmpty && valueBefore !== null; const baseElement = shouldPersistToBase - ? target.setBaseValue(valueBefore) + ? target.setBaseValue({ value: valueBefore }) : element; return { ...baseElement, animations: nextAnimations }; -- cgit v1.3.1