aboutsummaryrefslogtreecommitdiff
path: root/components/MenuButton.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-11-12 22:12:56 +0100
committerSander Ferdinand <sa.ferdinand@gmail.com>2017-11-12 22:12:56 +0100
commit476b727db1119be3376b1377a5d4c16f61831229 (patch)
treeac3bb45eb44d18061b0b6ec9b7714dd5ced04def /components/MenuButton.qml
parenta01bb509ea4b7f7a6f402c7a7f52d2497b320341 (diff)
downloadmonzero-gui-476b727db1119be3376b1377a5d4c16f61831229.tar.gz
monzero-gui-476b727db1119be3376b1377a5d4c16f61831229.tar.xz
monzero-gui-476b727db1119be3376b1377a5d4c16f61831229.zip
Smoother and faster animations for the menu buttons
Diffstat (limited to 'components/MenuButton.qml')
-rw-r--r--components/MenuButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/MenuButton.qml b/components/MenuButton.qml
index 23ab4f74..eb97d6db 100644
--- a/components/MenuButton.qml
+++ b/components/MenuButton.qml
@@ -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 }
}
}