diff --git a/src/litegraph.js b/src/litegraph.js index 63a5ce9d0..767506af8 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -4952,7 +4952,9 @@ LGraphNode.prototype.executeAction = function(action) this.title = o.title; this._bounding.set(o.bounding); this.color = o.color; - this.font_size = o.font_size; + if (o.font_size) { + this.font_size = o.font_size; + } }; LGraphGroup.prototype.serialize = function() {