Two-way selection
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import ComfyGraph from '$lib/ComfyGraph';
|
||||
import { LGraphCanvas, LiteGraph, Subgraph } from '@litegraph-ts/core';
|
||||
import layoutState from './stores/layoutState';
|
||||
import { get } from 'svelte/store';
|
||||
|
||||
export function configureLitegraph(isMobile: boolean = false) {
|
||||
LiteGraph.catch_exceptions = false;
|
||||
@@ -16,4 +18,5 @@ export function configureLitegraph(isMobile: boolean = false) {
|
||||
|
||||
(window as any).LiteGraph = LiteGraph;
|
||||
(window as any).LGraphCanvas = LGraphCanvas;
|
||||
(window as any).layoutState = get(layoutState)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user