Upstream progressbar rendering (#871)

Upstreams progress bar rendering from ComfyUI_frontend.
This commit is contained in:
Chenlei Hu
2025-03-30 17:14:09 -04:00
committed by GitHub
parent 8a9b1c7071
commit 30a7f19a64
5 changed files with 34 additions and 0 deletions

View File

@@ -4493,6 +4493,8 @@ export class LGraphCanvas implements ConnectionColorContext {
}
}
node.drawProgressBar(ctx)
// these counter helps in conditioning drawing based on if the node has been executed or an action occurred
if (node.execute_triggered != null && node.execute_triggered > 0) node.execute_triggered--
if (node.action_triggered != null && node.action_triggered > 0) node.action_triggered--