From bc0254f77f5acf5d217887b0c3b5f864fdac46d9 Mon Sep 17 00:00:00 2001 From: bcq Date: Sat, 9 Sep 2023 20:15:32 +0800 Subject: [PATCH] Fix LGraphGroup node serialize error --- src/litegraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/litegraph.js b/src/litegraph.js index d8fbe89f22..8c71971e19 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -4913,7 +4913,7 @@ LGraphNode.prototype.executeAction = function(action) this.title = o.title; this._bounding.set(o.bounding); this.color = o.color; - this.font = o.font; + this.font_size = o.font_size; }; LGraphGroup.prototype.serialize = function() { @@ -4927,7 +4927,7 @@ LGraphNode.prototype.executeAction = function(action) Math.round(b[3]) ], color: this.color, - font: this.font + font_size: this.font_size }; };