Fix queue on change to respect auto queue checkbox (#2608)

* Fix render on change not respecting auto queue checkbox

Fix issue where autoQueueEnabled checkbox is ignored for changes if autoQueueMode is left on `change`

* Make check more specific
This commit is contained in:
Kristjan Pärt
2024-01-22 04:34:39 +02:00
committed by GitHub
parent ef5a28b597
commit 45bf88d8ef

View File

@@ -384,7 +384,7 @@ export class ComfyUI {
autoQueueModeEl.style.display = "none";
api.addEventListener("graphChanged", () => {
if (this.autoQueueMode === "change") {
if (this.autoQueueMode === "change" && this.autoQueueEnabled === true) {
if (this.lastQueueSize === 0) {
this.graphHasChanged = false;
app.queuePrompt(0, this.batchCount);