We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd14144 commit 4b75528Copy full SHA for 4b75528
src/scripts/app.ts
@@ -752,16 +752,12 @@ export class ComfyApp {
752
fixLinkInputSlots(this)
753
754
// Fire callbacks before the onConfigure, this is used by widget inputs to setup the config
755
- for (const node of graph.nodes) {
756
- node.onGraphConfigured?.()
757
- }
+ triggerCallbackOnAllNodes(this, 'onGraphConfigured')
758
759
const r = onConfigure?.apply(this, args)
760
761
// Fire after onConfigure, used by primitives to generate widget using input nodes config
762
763
- node.onAfterGraphConfigured?.()
764
+ triggerCallbackOnAllNodes(this, 'onAfterGraphConfigured')
765
766
return r
767
}
0 commit comments