forked from Public/monero-gui
Smoother and faster animations for the menu buttons
This commit is contained in:
@@ -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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user