diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-06 12:59:07 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-06 12:59:07 +0200 |
| commit | c411edb7c160c55e94fddf62fd60fa1e166351c0 (patch) | |
| tree | 39495bfc8120590c93943a396cce2b477d3faa6c /apps/web/src/lib/commands | |
| parent | 2776adaae1512bf925c5bb4564b311b37f46202d (diff) | |
| download | opencut-c411edb7c160c55e94fddf62fd60fa1e166351c0.tar.gz | |
fix: clean up
Diffstat (limited to 'apps/web/src/lib/commands')
| -rw-r--r-- | apps/web/src/lib/commands/timeline/element/keyframes/remove-keyframe.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |
