mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Add easing to page switching animation - OutCubic
This commit is contained in:
parent
1ada4f8826
commit
c349b5d248
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,7 @@ Rectangle {
|
||||||
from: 0 - target.width
|
from: 0 - target.width
|
||||||
to: 0
|
to: 0
|
||||||
duration: 300
|
duration: 300
|
||||||
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
PropertyAnimation {
|
PropertyAnimation {
|
||||||
target: exitItem
|
target: exitItem
|
||||||
|
@ -197,6 +198,7 @@ Rectangle {
|
||||||
from: 0
|
from: 0
|
||||||
to: target.width
|
to: target.width
|
||||||
duration: 300
|
duration: 300
|
||||||
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue