Add easing to page switching animation - OutCubic

This commit is contained in:
Sander Ferdinand 2017-11-12 22:26:48 +01:00
parent 1ada4f8826
commit c349b5d248

View file

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