Smoother and faster animations for the menu buttons

This commit is contained in:
Sander Ferdinand 2017-11-12 22:12:56 +01:00
parent a01bb509ea
commit 476b727db1

View file

@ -63,13 +63,13 @@ Rectangle {
yScale: button.present ? 1 : 0
Behavior on yScale {
NumberAnimation { duration: 500; easing.type: Easing.InOutCubic }
NumberAnimation { duration: 200; easing.type: Easing.OutCubic }
}
}
Behavior on height {
SequentialAnimation {
NumberAnimation { duration: 500; easing.type: Easing.InOutCubic }
NumberAnimation { duration: 200; easing.type: Easing.OutCubic }
}
}