mirror of
https://github.com/overte-org/overte.git
synced 2025-04-30 02:02:45 +02:00
add slight animation on hover
This commit is contained in:
parent
462d2d5d80
commit
9f7fd3faa2
1 changed files with 6 additions and 0 deletions
|
@ -595,6 +595,12 @@ Rectangle {
|
||||||
width: 92
|
width: 92
|
||||||
height: 92
|
height: 92
|
||||||
|
|
||||||
|
Behavior on y {
|
||||||
|
SpringAnimation {
|
||||||
|
spring: 2; damping: 0.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
name: "hovered"
|
name: "hovered"
|
||||||
|
|
Loading…
Reference in a new issue