fix: amnezia free card button hovers when card enabled (#2602)

This commit is contained in:
MrMirDan
2026-05-15 09:58:11 +03:00
committed by GitHub
parent cb48667b91
commit 0433e03bdc

View File

@@ -188,7 +188,7 @@ Button {
anchors.fill: parent
radius: 12
color: root.pressed ? rightImage.pressedColor : root.hovered ? rightImage.hoveredColor : rightImage.defaultColor
color: root.pressed ? rightImage.pressedColor : root.hovered && root.enabled ? rightImage.hoveredColor : rightImage.defaultColor
Behavior on color {
PropertyAnimation { duration: 200 }