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:
parent
ef5a28b597
commit
45bf88d8ef
|
@ -384,7 +384,7 @@ export class ComfyUI {
|
||||||
autoQueueModeEl.style.display = "none";
|
autoQueueModeEl.style.display = "none";
|
||||||
|
|
||||||
api.addEventListener("graphChanged", () => {
|
api.addEventListener("graphChanged", () => {
|
||||||
if (this.autoQueueMode === "change") {
|
if (this.autoQueueMode === "change" && this.autoQueueEnabled === true) {
|
||||||
if (this.lastQueueSize === 0) {
|
if (this.lastQueueSize === 0) {
|
||||||
this.graphHasChanged = false;
|
this.graphHasChanged = false;
|
||||||
app.queuePrompt(0, this.batchCount);
|
app.queuePrompt(0, this.batchCount);
|
||||||
|
|
Loading…
Reference in New Issue