mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 16:07:04 +08:00
Make hideWidget safer
This commit is contained in:
parent
c5aba54c8a
commit
400300c9dc
@ -9,6 +9,7 @@ function isConvertableWidget(widget, config) {
|
||||
}
|
||||
|
||||
function hideWidget(node, widget, suffix = "") {
|
||||
if (widget.type.includes(CONVERTED_TYPE)) { return; } // already hidden, don't do it again
|
||||
widget.origType = widget.type;
|
||||
widget.origComputeSize = widget.computeSize;
|
||||
widget.origSerializeValue = widget.serializeValue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user