diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2017-11-12 22:12:56 +0100 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2017-11-12 22:12:56 +0100 |
| commit | 476b727db1119be3376b1377a5d4c16f61831229 (patch) | |
| tree | ac3bb45eb44d18061b0b6ec9b7714dd5ced04def /components | |
| parent | a01bb509ea4b7f7a6f402c7a7f52d2497b320341 (diff) | |
| download | monzero-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')
| -rw-r--r-- | components/MenuButton.qml | 4 |
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 } } } |
