mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
feat: select element on insert
This commit is contained in:
@@ -109,6 +109,10 @@ export class InsertElementCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
editor.timeline.updateTracks(updatedTracks);
|
editor.timeline.updateTracks(updatedTracks);
|
||||||
|
|
||||||
|
return {
|
||||||
|
select: [{ trackId: targetTrackId, elementId: this.elementId }],
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
undo(): void {
|
undo(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user