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 yScale: button.present ? 1 : 0
Behavior on yScale { Behavior on yScale {
NumberAnimation { duration: 500; easing.type: Easing.InOutCubic } NumberAnimation { duration: 200; easing.type: Easing.OutCubic }
} }
} }
Behavior on height { Behavior on height {
SequentialAnimation { SequentialAnimation {
NumberAnimation { duration: 500; easing.type: Easing.InOutCubic } NumberAnimation { duration: 200; easing.type: Easing.OutCubic }
} }
} }