Integrate align to grid extension

This commit is contained in:
space-nuko
2023-05-05 07:26:45 -05:00
parent ed28e0dfda
commit 578e38e58b
4 changed files with 64 additions and 3 deletions

View File

@@ -24,10 +24,12 @@ import { toast } from '@zerodevx/svelte-toast'
import ComfyGraph from "$lib/ComfyGraph";
import { ComfyBackendNode } from "$lib/nodes/ComfyBackendNode";
import { get } from "svelte/store";
import uiState from "$lib/stores/uiState";
export const COMFYBOX_SERIAL_VERSION = 1;
LiteGraph.catch_exceptions = false;
LiteGraph.CANVAS_GRID_SIZE = 32;
if (typeof window !== "undefined") {
// Load default visibility