diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-09 16:38:17 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-09 16:38:17 +0100 |
| commit | 33a8705f0d967891402c61dd3192e6bad24921ef (patch) | |
| tree | 567a4cb2fcdfd1cf44dc00d509d4f32424633c2d /apps/web/src/hooks/actions | |
| parent | fe10cee3eb96112983709a37831ef4ceda396178 (diff) | |
| download | opencut-33a8705f0d967891402c61dd3192e6bad24921ef.tar.gz | |
fix selection not getting cleared after element deletion
Diffstat (limited to 'apps/web/src/hooks/actions')
| -rw-r--r-- | apps/web/src/hooks/actions/use-editor-actions.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/src/hooks/actions/use-editor-actions.ts b/apps/web/src/hooks/actions/use-editor-actions.ts index d1ff6c92..1ce890cb 100644 --- a/apps/web/src/hooks/actions/use-editor-actions.ts +++ b/apps/web/src/hooks/actions/use-editor-actions.ts @@ -199,6 +199,7 @@ export function useEditorActions() { editor.timeline.deleteElements({ elements: selectedElements, }); + editor.selection.clearSelection(); }, undefined, ); |
