v1.1.1

HKUDS/CLI-Anythingv1.1.1Oct 29, 2024by k9p5

AI Summary

Adds granular control for stacked tracks, allowing clips to be inserted at specific indices and ensuring they can be split without causing track reordering.

Key Highlights

  • Insert clips at a specific index in a stacked track
  • Split clips without track reordering

New Features

  • Insertion of clips at index in stacked tracks
  • Safe splitting of stacked clips

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
```