Fade invalid increment/decrement widget buttons (#978)

When a widget cannot be incremented/decremented further, show a disabled
effect on the widget buttons.


https://github.com/user-attachments/assets/7770a9f1-31f6-430b-ab02-420327621148
This commit is contained in:
filtered
2025-04-28 05:47:48 +10:00
committed by GitHub
parent 85b1534263
commit ee222c794b
6 changed files with 160 additions and 64 deletions

View File

@@ -133,6 +133,7 @@ LiteGraphGlobal {
"VERTICAL_LAYOUT": "vertical",
"WIDGET_ADVANCED_OUTLINE_COLOR": "rgba(56, 139, 253, 0.8)",
"WIDGET_BGCOLOR": "#222",
"WIDGET_DISABLED_TEXT_COLOR": "#666",
"WIDGET_OUTLINE_COLOR": "#666",
"WIDGET_SECONDARY_TEXT_COLOR": "#999",
"WIDGET_TEXT_COLOR": "#DDD",