From 4ece497f0e65a34eefedfff5dcf359aa98ade4d7 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 10 Mar 2024 22:58:16 -0700 Subject: [PATCH] Added default styles --- js/comfy/comfy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/comfy/comfy.js b/js/comfy/comfy.js index a90da38..4fc4b26 100644 --- a/js/comfy/comfy.js +++ b/js/comfy/comfy.js @@ -137,7 +137,7 @@ export class ComfyNode extends LiteGraph.LGraphNode { } export class Button { - constructor(text, fillColor, textColor) { + constructor(text, fillColor = "#fff", textColor = "#000") { this.x = 0; this.y = 0; this.width = 100;