Auto add new widgets for backend nodes

This commit is contained in:
space-nuko
2023-05-04 11:42:21 -05:00
parent 93cf2ed98a
commit 71a3abf518
13 changed files with 150 additions and 101 deletions

View File

@@ -8,6 +8,7 @@ export type UIState = {
app: ComfyApp,
nodesLocked: boolean,
graphLocked: boolean,
autoAddUI: boolean,
uiEditMode: UIEditMode
}
@@ -17,6 +18,7 @@ const store: WritableUIStateStore = writable(
app: null,
graphLocked: false,
nodesLocked: false,
autoAddUI: true,
uiEditMode: "disabled",
})