1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 20:48:29 -04:00

animations: add DankColorAnimation helper to properly animate between

colors with different alpha values
fixes #2720
This commit is contained in:
bbedward
2026-07-03 15:36:45 -04:00
parent 3253adb6dd
commit 930a36bcfc
7 changed files with 95 additions and 41 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ Rectangle {
return Theme.withAlpha(root.textColor, 0.20);
if (hovered)
return Theme.withAlpha(root.textColor, 0.12);
return "transparent";
return Theme.withAlpha(root.textColor, 0);
}
Behavior on color {