From c23af92baf0b0e4f2fb788bb748aa6c445dd9779 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Fri, 3 Mar 2023 18:48:22 +0000 Subject: [PATCH] Redraw node on opt change --- web/extensions/core/rerouteNode.js | 1 + web/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/web/extensions/core/rerouteNode.js b/web/extensions/core/rerouteNode.js index 45b63d87..bdc7306b 100644 --- a/web/extensions/core/rerouteNode.js +++ b/web/extensions/core/rerouteNode.js @@ -46,6 +46,7 @@ app.registerExtension({ this.outputs[0].name = ""; } this.size = this.computeSize(); + app.graph.setDirtyCanvas(true); }, }, { diff --git a/web/index.html b/web/index.html index 67c7d1e8..1236d754 100644 --- a/web/index.html +++ b/web/index.html @@ -7,6 +7,7 @@