feat: automatically select layer when is added to the timeline

This commit is contained in:
Thiago Freire 2025-07-21 19:59:18 -03:00
parent 11b270ffd3
commit 301edd0749
1 changed files with 2 additions and 0 deletions

View File

@ -549,6 +549,8 @@ export const useTimelineStore = create<TimelineStore>((set, get) => {
: track
)
);
get().selectElement(trackId, newElement.id);
},
removeElementFromTrack: (trackId, elementId) => {