Use group font size from user (#41)

This commit is contained in:
bymyself
2024-07-30 17:33:49 -07:00
committed by GitHub
parent daa33fad94
commit c2c4160af0

View File

@@ -4908,7 +4908,7 @@ LGraphNode.prototype.executeAction = function(action)
LGraphGroup.prototype._ctor = function(title) {
this.title = title || "Group";
this.font_size = 24;
this.font_size = LiteGraph.DEFAULT_GROUP_FONT || 24;
this.color = LGraphCanvas.node_colors.pale_blue
? LGraphCanvas.node_colors.pale_blue.groupcolor
: "#AAA";