stories.json now encodes the duration for a transform so that the time code of the event isn't also controlling the time that the transform runs.

This commit is contained in:
Zed A. Shaw 2026-02-22 23:40:00 -05:00
parent 088f9e022e
commit 0fefc83c36
4 changed files with 17 additions and 17 deletions

View file

@ -67,7 +67,7 @@ namespace storyboard {
}
void UI::track_audio() {
auto& [timecode, cell_name, form] = $story.beats[cur_beat % $story.beats.size()];
auto& [timecode, cell_name, form, _] = $story.beats[cur_beat % $story.beats.size()];
auto track_head = $audio->getPlayingOffset();
auto next_beat = parse_time_code(timecode);