mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix selection not getting cleared after element deletion
This commit is contained in:
@@ -199,6 +199,7 @@ export function useEditorActions() {
|
|||||||
editor.timeline.deleteElements({
|
editor.timeline.deleteElements({
|
||||||
elements: selectedElements,
|
elements: selectedElements,
|
||||||
});
|
});
|
||||||
|
editor.selection.clearSelection();
|
||||||
},
|
},
|
||||||
undefined,
|
undefined,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user