1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Redraw node on opt change

This commit is contained in:
pythongosssss
2023-03-03 18:48:22 +00:00
parent e14b79c14e
commit c23af92baf
2 changed files with 2 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ app.registerExtension({
this.outputs[0].name = "";
}
this.size = this.computeSize();
app.graph.setDirtyCanvas(true);
},
},
{

View File

@@ -7,6 +7,7 @@
<script type="module">
import "/extensions/core/dynamicPrompts.js";
import "/extensions/core/rerouteNode.js";
import { app } from "/scripts/app.js";
await app.setup();