From ec8c3f94dbc0d6bdb28f81d7319dcf2985610c42 Mon Sep 17 00:00:00 2001 From: bcq Date: Sat, 9 Sep 2023 20:20:24 +0800 Subject: [PATCH] Fix LGraphGroup node serialize error --- web/lib/litegraph.core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/litegraph.core.js b/web/lib/litegraph.core.js index 4a21a1b34..8fb5d07a8 100644 --- a/web/lib/litegraph.core.js +++ b/web/lib/litegraph.core.js @@ -4928,7 +4928,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() { @@ -4942,7 +4942,7 @@ LGraphNode.prototype.executeAction = function(action) Math.round(b[3]) ], color: this.color, - font: this.font + font_size: this.font_size }; };