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