Fix LGraphGroup node serialize error

This commit is contained in:
bcq 2023-09-09 20:20:24 +08:00
parent cc2fa311dd
commit ec8c3f94db

View File

@ -4928,7 +4928,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() {
@ -4942,7 +4942,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
}; };
}; };