mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Use builtin widget hiding
This commit is contained in:
parent
dfe7a909a4
commit
3f62cf2849
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user