The open-source CapCut alternative
feat: automatically select layer when is added to the timeline
Thiago Freire301edd0749ff
diff --git a/apps/web/src/stores/timeline-store.ts b/apps/web/src/stores/timeline-store.tsindex 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<TimelineStore>((set, get) => {: track));++ get().selectElement(trackId, newElement.id);},removeElementFromTrack: (trackId, elementId) => {