feat: select element on insert

This commit is contained in:
Maze Winther 2026-04-07 01:20:07 +02:00
parent f47e85c3bb
commit b8979c65d4
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ export class InsertElementCommand extends Command {
}
editor.timeline.updateTracks(updatedTracks);
return {
select: [{ trackId: targetTrackId, elementId: this.elementId }],
};
}
undo(): void {