From 56d922223bbb569e9dcb4d8cb4a73aa353922471 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 27 Oct 2022 01:37:24 +0200 Subject: [PATCH] Add debug dump of themeconfig --- index_theme.ts.template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index_theme.ts.template b/index_theme.ts.template index dbb7e473d2..e4e5bb594a 100644 --- a/index_theme.ts.template +++ b/index_theme.ts.template @@ -32,7 +32,9 @@ AvailableBaseLayers.implement(new AvailableBaseLayersImplementation()) ShowOverlayLayerImplementation.Implement(); // Miscelleanous Utils.DisableLongPresses() - +if(new URLSearchParams(window.location.search).get("test") === "true"){ + console.log(themeConfig["default"]) +} const layoutToUse = new LayoutConfig(themeConfig["default"]) @@ -66,4 +68,4 @@ if(mode.data === "dashboard"){ new DashboardGui(State.state, guiState).setup() }else{ new DefaultGUI(State.state, guiState).setup() -} \ No newline at end of file +}