From 3f62cf2849a01f356df7866c1bf8745834126ee1 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Mon, 9 Jun 2025 12:03:56 +0300 Subject: [PATCH] Use builtin widget hiding --- web/js/spline_editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/js/spline_editor.js b/web/js/spline_editor.js index da12882..93d07e3 100644 --- a/web/js/spline_editor.js +++ b/web/js/spline_editor.js @@ -104,7 +104,8 @@ app.registerExtension({ if (nodeData?.name === 'SplineEditor') { chainCallback(nodeType.prototype, "onNodeCreated", function () { - hideWidgetForGood(this, this.widgets.find(w => w.name === "coordinates")) + //hideWidgetForGood(this, this.widgets.find(w => w.name === "coordinates")) + this.widgets.find(w => w.name === "coordinates").hidden = true var element = document.createElement("div"); this.uuid = makeUUID()