v1.1.1

VRSEN/agency-swarmv1.1.1Oct 29, 2024by k9p5

AI Summary

This release introduces the ability to insert clips into stacked tracks at a specific index and ensures that splitting clips within stacked tracks does not cause the track to reorder.

Key Highlights

  • New ability to insert clips at a specific index using `track.add(new Clip(), index)`
  • Clips in stacked tracks can now be split without causing track reordering
  • Improved control over the order of clips within stacked tracks

New Features

  • Insertion of clips at specific indices in stacked tracks
  • Splitting clips in stacked tracks without reordering

Full Release Notes

- Implemented ability to insert clips into a stacked track at a given index e.g. `track.add(new Clip(), 2)`
- Ensured clips within stacked tracks can be split without the track being reordered

**Example**
```
const composition = new core.Compostion();
const track = composition.createTrack('base').stacked();

await track.add(new core.Clip({ name: 'foo' });
await track.add(new core.Clip({ name: 'bar' });

// now add a clip in between
await track.add(new core.Clip({ name: 'pong' }), 1);


console.log(track.clips[0].name); // foo
console.log(track.clips[1].name); // pong
console.log(track.clips[2].name); // bar
```