fix: prevent rolling into events of 0 duration

This commit is contained in:
Carlos Valente
2025-10-01 07:05:31 +02:00
committed by Alex Christoffer Rasmussen
parent e22c7698c3
commit 81e00993f2
4 changed files with 38 additions and 7 deletions
+1
View File
@@ -29,6 +29,7 @@ export function loadRoll(
for (let i = 0; i < metadata.playableEventOrder.length; i++) {
const event = rundown.entries[metadata.playableEventOrder[i]] as PlayableEvent;
// rolling into events of 0 duration would make the playback be stuck
if (event.duration === 0) {
continue;
}