Added default styles

This commit is contained in:
Nathan
2024-03-10 22:58:16 -07:00
parent 5b464d8c80
commit 4ece497f0e
+1 -1
View File
@@ -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;