Skip to content

Commit 33a8705

Browse files
committed
fix selection not getting cleared after element deletion
1 parent fe10cee commit 33a8705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/web/src/hooks/actions/use-editor-actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ export function useEditorActions() {
199199
editor.timeline.deleteElements({
200200
elements: selectedElements,
201201
});
202+
editor.selection.clearSelection();
202203
},
203204
undefined,
204205
);

0 commit comments

Comments
 (0)