mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 18:33:53 +00:00
remove comments
This commit is contained in:
@@ -182,10 +182,7 @@ export function load(
|
||||
rundown: OntimeRundown,
|
||||
initialData?: Partial<TimerState & RestorePoint>,
|
||||
): boolean {
|
||||
// we need to persist the current block state across loads
|
||||
// const prevCurrentBlock = { ...runtimeState.currentBlock };
|
||||
softClear();
|
||||
// runtimeState.currentBlock = prevCurrentBlock;
|
||||
|
||||
// filter rundown
|
||||
const timedEvents = filterTimedEvents(rundown);
|
||||
|
||||
@@ -4,7 +4,7 @@ import { OffsetMode } from './Runtime.type.js';
|
||||
import type { RuntimeStore } from './RuntimeStore.type.js';
|
||||
import { TimerPhase } from './TimerState.type.js';
|
||||
|
||||
export const runtimeStorePlaceholder: RuntimeStore = {
|
||||
export const runtimeStorePlaceholder: Readonly<RuntimeStore> = {
|
||||
clock: 0,
|
||||
timer: {
|
||||
addedTime: 0,
|
||||
|
||||
Reference in New Issue
Block a user