Fix: attempt to fix build

This commit is contained in:
Pieter Vander Vennet 2024-10-17 04:18:19 +02:00
parent a016a8f771
commit 571791d063

View file

@ -1,6 +1,6 @@
import ThemeViewState from "./src/Models/ThemeViewState" import ThemeViewState from "./src/Models/ThemeViewState"
import ThemeViewGUI from "./src/UI/ThemeViewGUI.svelte" import ThemeViewGUI from "./src/UI/ThemeViewGUI.svelte"
import LayoutConfig from "./src/Models/ThemeConfig/LayoutConfig"; import ThemeConfig from "./src/Models/ThemeConfig/ThemeConfig";
import MetaTagging from "./src/Logic/MetaTagging"; import MetaTagging from "./src/Logic/MetaTagging";
import { FixedUiElement } from "./src/UI/Base/FixedUiElement"; import { FixedUiElement } from "./src/UI/Base/FixedUiElement";
import { Utils } from "./src/Utils" import { Utils } from "./src/Utils"
@ -49,7 +49,7 @@ async function main() {
MetaTagging.setThemeMetatagging(new ThemeMetaTagging()) MetaTagging.setThemeMetatagging(new ThemeMetaTagging())
// LAYOUT.ADD_LAYERS // LAYOUT.ADD_LAYERS
// LAYOUT.ADD_CONFIG // LAYOUT.ADD_CONFIG
const state = new ThemeViewState(new LayoutConfig(<any> layout), availableLayers) const state = new ThemeViewState(new ThemeConfig(<any> layout), availableLayers)
const target = document.getElementById("maindiv") const target = document.getElementById("maindiv")
const childs = Array.from(target.children) const childs = Array.from(target.children)
new ThemeViewGUI({ new ThemeViewGUI({