Smoother and faster animations for the menu buttons

pull/2/head
Sander Ferdinand 7 years ago
parent a01bb509ea
commit 476b727db1

@ -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 }
}
}