1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Fix litegraph button being black on light theme.

This commit is contained in:
comfyanonymous
2023-08-10 12:29:56 -04:00
parent cf10c5592c
commit f7e6a5ed07

View File

@@ -9766,6 +9766,7 @@ LGraphNode.prototype.executeAction = function(action)
switch (w.type) {
case "button":
ctx.fillStyle = background_color;
if (w.clicked) {
ctx.fillStyle = "#AAA";
w.clicked = false;