diff options
| author | Maze <167211895+mazeincoding@users.noreply.github.com> | 2025-07-22 11:58:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 11:58:34 +0200 |
| commit | 2791992b6bdf786792ea7c80d960221c94358e26 (patch) | |
| tree | a4522ae99339c5308b27b3a76b27c13fbb9e33f3 /apps | |
| parent | e7b89a4cc0ecbe935fe64ae18dfcb7a6366cb556 (diff) | |
| parent | 301edd0749ff26550bf31cb290d016cbad8e54c7 (diff) | |
| download | opencut-2791992b6bdf786792ea7c80d960221c94358e26.tar.gz | |
Merge pull request #408 from treepo1/feat/select-layer-when-inserted
[FEATURE] Select layer when adding to the Timeline
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/stores/timeline-store.ts | 2 |
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 20e80253..81e135da 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) => { |
