Skip to content

Commit

Permalink
upt
Browse files Browse the repository at this point in the history
  • Loading branch information
k1nho committed Aug 30, 2024
1 parent b8dc50a commit 11036be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ function createVideoStore() {

function createVideoToolingStore() {
const numberOfClipsInTrack = derived(trackStore, ($trackStore) => {
if ($trackStore[0]) return $trackStore[0].length;
if ($trackStore[getTrackCursorIdx()])
return $trackStore[getTrackCursorIdx()].length;
return 0;
});

Expand Down

0 comments on commit 11036be

Please sign in to comment.