summaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src')
-rw-r--r--apps/web/src/stores/timeline-store.ts2
1 files changed, 2 insertions, 0 deletions
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<TimelineStore>((set, get) => {
: track
)
);
+
+ get().selectElement(trackId, newElement.id);
},
removeElementFromTrack: (trackId, elementId) => {