Skip to content

Commit 488922a

Browse files
fix: restore executeNumberControls calls removed in merge
1 parent ed25f72 commit 488922a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scripts/app.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,7 @@ export class ComfyApp {
13591359
forEachNode(this.rootGraph, (node) => {
13601360
for (const widget of node.widgets ?? []) widget.beforeQueued?.()
13611361
})
1362+
executeNumberControls('before')
13621363

13631364
const p = await this.graphToPrompt(this.rootGraph)
13641365
const queuedNodes = collectAllNodes(this.rootGraph)
@@ -1403,6 +1404,7 @@ export class ComfyApp {
14031404
// Allow widgets to run callbacks after a prompt has been queued
14041405
// e.g. random seed after every gen
14051406
executeWidgetsCallback(queuedNodes, 'afterQueued')
1407+
executeNumberControls('after')
14061408
this.canvas.draw(true, true)
14071409
await this.ui.queue.update()
14081410
}

0 commit comments

Comments
 (0)