Allow reroutes to be resized. Seems to work when height is >= 30. Addresses part of #17
This commit is contained in:
+1
-1
@@ -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
@@ -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("", "*");
|
||||
|
||||
Reference in New Issue
Block a user