From 8628f44c47ffdffcc2b5b698b47b10e9da0dac99 Mon Sep 17 00:00:00 2001 From: Taremin Date: Mon, 22 Jan 2024 18:30:43 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=8D=E5=BF=85=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E5=87=A6=E7=90=86=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/index.ts b/src/index.ts index 993f444..3438202 100644 --- a/src/index.ts +++ b/src/index.ts @@ -132,18 +132,6 @@ function createCallback(nodename: string, basename: string, inputType: string) { this.widgets = this.tmpWidgets.concat(this.widgets) delete this.tmpWidgets } - if (this.widgets_values) { - for (let i = 0, il = this.widgets_values.length; i < il; ++i) { - const value = this.widgets_values[i] - if (value === null || value === void 0) { - continue - } - this.widgets[i].value = value - } - } - - this.setSize(this.computeSize()) - this.setDirtyCanvas(true, true) if (app.configuringGraph) { updateInputs.call(this)