This commit is contained in:
2024-12-19 18:28:17 +01:00
parent 53f400a4f6
commit 33d5ed14dd
16 changed files with 232 additions and 240 deletions

View File

@@ -48,7 +48,7 @@
$effect(() => {
if (graphState.activeNodeId !== -1) {
activeNode = manager.getNode(graphState.activeNodeId);
} else {
} else if (activeNode) {
activeNode = undefined;
}
});
@@ -64,7 +64,7 @@
});
manager.on("settings", (_settings) => {
settingTypes = _settings.types;
settingTypes = { ...settingTypes, ..._settings.types };
settings = _settings.values;
});