Skip to content

Commit 2693f18

Browse files
authored
Merge pull request #414 from bcq028/master
Fix LGraphGroup node serialize error
2 parents 8c4a1de + bc0254f commit 2693f18

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/litegraph.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4913,7 +4913,7 @@ LGraphNode.prototype.executeAction = function(action)
49134913
this.title = o.title;
49144914
this._bounding.set(o.bounding);
49154915
this.color = o.color;
4916-
this.font = o.font;
4916+
this.font_size = o.font_size;
49174917
};
49184918

49194919
LGraphGroup.prototype.serialize = function() {
@@ -4927,7 +4927,7 @@ LGraphNode.prototype.executeAction = function(action)
49274927
Math.round(b[3])
49284928
],
49294929
color: this.color,
4930-
font: this.font
4930+
font_size: this.font_size
49314931
};
49324932
};
49334933

0 commit comments

Comments
 (0)