From 301edd0749ff26550bf31cb290d016cbad8e54c7 Mon Sep 17 00:00:00 2001 From: Thiago Freire Date: Mon, 21 Jul 2025 19:59:18 -0300 Subject: [PATCH] feat: automatically select layer when is added to the timeline --- apps/web/src/stores/timeline-store.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/stores/timeline-store.ts b/apps/web/src/stores/timeline-store.ts index 01ad1635..975165f9 100644 --- a/apps/web/src/stores/timeline-store.ts +++ b/apps/web/src/stores/timeline-store.ts @@ -549,6 +549,8 @@ export const useTimelineStore = create((set, get) => { : track ) ); + + get().selectElement(trackId, newElement.id); }, removeElementFromTrack: (trackId, elementId) => {