Fix LGraphGroup node serialize error

This commit is contained in:
bcq
2023-09-09 20:15:32 +08:00
parent 21bdba60a4
commit bc0254f77f

View File

@@ -4913,7 +4913,7 @@ LGraphNode.prototype.executeAction = function(action)
this.title = o.title; this.title = o.title;
this._bounding.set(o.bounding); this._bounding.set(o.bounding);
this.color = o.color; this.color = o.color;
this.font = o.font; this.font_size = o.font_size;
}; };
LGraphGroup.prototype.serialize = function() { LGraphGroup.prototype.serialize = function() {
@@ -4927,7 +4927,7 @@ LGraphNode.prototype.executeAction = function(action)
Math.round(b[3]) Math.round(b[3])
], ],
color: this.color, color: this.color,
font: this.font font_size: this.font_size
}; };
}; };