From 4362bb63fc559cbab4871ba1c74cf1952ea95cd6 Mon Sep 17 00:00:00 2001 From: Craig Harshbarger Date: Wed, 8 Nov 2023 13:02:36 -0600 Subject: [PATCH] Reset the settings values on stop --- src/objects/settings.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/objects/settings.ts b/src/objects/settings.ts index 2ad2a4d5..fbe702c7 100644 --- a/src/objects/settings.ts +++ b/src/objects/settings.ts @@ -26,8 +26,13 @@ export async function startSettings(): Promise { } export function stopSettings(): void { + layout.horizontal = 'temporal' + layout.vertical = 'nearest-parent' layout.horizontalScaleMultiplierDefault = 0 layout.horizontalScaleMultiplier = 0 + layout.disableAnimations = false + layout.disableEdges = false + layout.disableGuides = false } export const layout = reactive({