feat: refactor how frontend was structured
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m16s

This commit is contained in:
2024-04-25 01:53:20 +02:00
parent f51f61df17
commit c28ef550a9
18 changed files with 264 additions and 225 deletions

View File

@ -27,6 +27,8 @@
export let showGrid = false;
export let snapToGrid = false;
export let settingTypes = {};
const updateSettings = debounce((s) => {
manager.setSettings(s);
}, 200);
@ -36,7 +38,8 @@
}
manager.on("settings", (settings) => {
dispatch("settings", settings);
settingTypes = settings.types;
$settings = settings.values;
});
manager.on("result", (result) => {