From 47be4d4236e056c1a43fced87a2ec18f15852a89 Mon Sep 17 00:00:00 2001 From: rgthree Date: Wed, 13 Sep 2023 22:06:52 -0400 Subject: [PATCH] Allow reroutes to be resized. Seems to work when height is >= 30. Addresses part of #17 --- js/reroute.js | 2 +- ts/reroute.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/reroute.js b/js/reroute.js index 1eec751..fe72e9c 100644 --- a/js/reroute.js +++ b/js/reroute.js @@ -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("", "*"); diff --git a/ts/reroute.ts b/ts/reroute.ts index 46f2f74..e419a60 100644 --- a/ts/reroute.ts +++ b/ts/reroute.ts @@ -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("", "*");