From af5d6e1aee8539033c04cc200b8d52b8b22b67cb Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Sun, 12 May 2024 20:42:09 +0200 Subject: [PATCH] fix: prevent stale selection --- apps/server/src/stores/runtimeState.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/stores/runtimeState.ts b/apps/server/src/stores/runtimeState.ts index 7ecfdfe1d..1df9255ef 100644 --- a/apps/server/src/stores/runtimeState.ts +++ b/apps/server/src/stores/runtimeState.ts @@ -81,6 +81,7 @@ export function clear() { runtimeState.runtime.offset = null; runtimeState.runtime.actualStart = null; runtimeState.runtime.expectedEnd = null; + runtimeState.runtime.selectedEventIndex = null; runtimeState.timer.playback = Playback.Stop; runtimeState.clock = clock.timeNow();