From a525552030dd4c9d3329ec9b729d7c6061ce12e6 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 31 Aug 2023 02:24:39 -0400 Subject: [PATCH] Fix litegraph button being black on light theme. --- src/litegraph.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/litegraph.js b/src/litegraph.js index bda8c59b55..1c1ac79e3d 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -9794,6 +9794,7 @@ LGraphNode.prototype.executeAction = function(action) switch (w.type) { case "button": + ctx.fillStyle = background_color; if (w.clicked) { ctx.fillStyle = "#AAA"; w.clicked = false;