forked from Shinonome/dots-hyprland
fixed button contrast when triggered
This commit is contained in:
@@ -21,7 +21,7 @@ ComboBox {
|
|||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
radius: root.buttonRadius
|
radius: root.buttonRadius
|
||||||
color: root.down ? root.colBackgroundActive : root.hovered ? root.colBackgroundHover : root.colBackground
|
color: (root.down && !root.popup.visible) ? root.colBackgroundActive : root.hovered ? root.colBackgroundHover : root.colBackground
|
||||||
|
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user