Allow reroutes to be resized. Seems to work when height is >= 30. Addresses part of #17

This commit is contained in:
rgthree
2023-09-13 22:06:52 -04:00
parent 51f26839f6
commit 47be4d4236
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ app.registerExtension({
constructor(title = RerouteNode.title) {
super(title);
this.isVirtualNode = true;
this.resizable = false;
this.resizable = true;
this.size = RerouteNode.size;
this.addInput("", "*");
this.addOutput("", "*");
+1 -1
View File
@@ -44,7 +44,7 @@ app.registerExtension({
constructor(title = RerouteNode.title) {
super(title);
this.isVirtualNode = true;
this.resizable = false;
this.resizable = true;
this.size = RerouteNode.size; // Starting size.
this.addInput("", "*");
this.addOutput("", "*");