Workflow creation/modified state

This commit is contained in:
space-nuko
2023-05-20 22:20:36 -05:00
parent d12b4ac03e
commit ee97bd43bc
9 changed files with 179 additions and 48 deletions

View File

@@ -170,6 +170,8 @@
if (spec.refreshPanelOnChange) {
doRefreshPanel()
}
workflow.notifyModified()
}
function getProperty(node: LGraphNode, spec: AttributesSpec) {
@@ -205,6 +207,8 @@
if (spec.refreshPanelOnChange)
doRefreshPanel()
workflow.notifyModified()
}
function getVar(node: LGraphNode, spec: AttributesSpec) {
@@ -241,6 +245,8 @@
if (spec.refreshPanelOnChange) {
doRefreshPanel()
}
workflow.notifyModified()
}
function getWorkflowAttribute(spec: AttributesSpec): any {
@@ -275,6 +281,8 @@
// if (spec.refreshPanelOnChange)
doRefreshPanel()
workflow.notifyModified()
}
function doRefreshPanel() {