Use builtin widget hiding

This commit is contained in:
kijai 2025-06-09 12:03:56 +03:00
parent dfe7a909a4
commit 3f62cf2849

View File

@ -104,7 +104,8 @@ app.registerExtension({
if (nodeData?.name === 'SplineEditor') { if (nodeData?.name === 'SplineEditor') {
chainCallback(nodeType.prototype, "onNodeCreated", function () { 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"); var element = document.createElement("div");
this.uuid = makeUUID() this.uuid = makeUUID()