mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Add animations to hover effect
CURA-8421
This commit is contained in:
parent
90bfdce3bb
commit
aa905a80fe
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue