feat: improve loading times

This commit is contained in:
2024-03-20 17:39:52 +01:00
parent 92a7e62d6a
commit 84bcfa61d8
12 changed files with 62 additions and 51 deletions

View File

@@ -4,7 +4,7 @@ import { writable, type Writable } from "svelte/store";
import { Color } from "three/src/math/Color.js";
export const activeNodeId: Writable<number> = writable(-1);
export const selectedNodes: Writable<Set<number> | null> = writable(null);
export const selectedNodes: Writable<Set<number> | null> = writable(new Set());
export const activeSocket: Writable<Socket | null> = writable(null);
export const hoveredSocket: Writable<Socket | null> = writable(null);