Commit c23af92b authored by pythongosssss's avatar pythongosssss
Browse files

Redraw node on opt change

parent e14b79c1
...@@ -46,6 +46,7 @@ app.registerExtension({ ...@@ -46,6 +46,7 @@ app.registerExtension({
this.outputs[0].name = ""; this.outputs[0].name = "";
} }
this.size = this.computeSize(); this.size = this.computeSize();
app.graph.setDirtyCanvas(true);
}, },
}, },
{ {
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<script type="module"> <script type="module">
import "/extensions/core/dynamicPrompts.js"; import "/extensions/core/dynamicPrompts.js";
import "/extensions/core/rerouteNode.js";
import { app } from "/scripts/app.js"; import { app } from "/scripts/app.js";
await app.setup(); await app.setup();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment