mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:29:02 +08:00
Add animations to hover effect
CURA-8421
This commit is contained in:
parent
90bfdce3bb
commit
aa905a80fe
@ -42,6 +42,7 @@ Item
|
||||
radius: parent.radius
|
||||
color: UM.Theme.getColor("primary_text")
|
||||
opacity: signInButton.hovered ? 0.2 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
}
|
||||
}
|
||||
|
||||
@ -108,6 +109,7 @@ Item
|
||||
radius: parent.radius
|
||||
color: UM.Theme.getColor("primary_text")
|
||||
opacity: accountWidget.hovered ? 0.2 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,6 +108,7 @@ Item
|
||||
radius: parent.radius
|
||||
color: UM.Theme.getColor("primary_text")
|
||||
opacity: marketplaceButton.hovered ? 0.2 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user