fix: rebase master

This commit is contained in:
Carlos Valente
2025-04-28 20:48:42 +02:00
committed by arc-alex
parent eba5252e40
commit f356afef43
2 changed files with 12 additions and 7 deletions
+6 -1
View File
@@ -4,6 +4,7 @@ import {
isPlayableEvent,
MaybeNumber,
MaybeString,
OffsetMode,
OntimeBlock,
OntimeEvent,
PlayableEvent,
@@ -98,7 +99,7 @@ export function clearEventData() {
runtimeState.runtime.selectedEventIndex = null;
runtimeState.timer.playback = Playback.Stop;
runtimeState.clock = clock.timeNow();
runtimeState.clock = timeNow();
runtimeState.timer = { ...runtimeStorePlaceholder.timer };
// when clearing, we maintain the total delay from the rundown
@@ -749,3 +750,7 @@ export function loadBlock(rundown: Rundown, state = runtimeState) {
const currentBlock = rundown.entries[currentBlockId];
state.currentBlock.block = currentBlock as OntimeBlock;
}
export function setOffsetMode(mode: OffsetMode) {
runtimeState.runtime.offsetMode = mode;
}