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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user