From c349b5d248ef540d3aa1d456ab7b76884b1863b4 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sun, 12 Nov 2017 22:26:48 +0100 Subject: [PATCH] Add easing to page switching animation - OutCubic --- MiddlePanel.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MiddlePanel.qml b/MiddlePanel.qml index a008a62a..ac673880 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -190,6 +190,7 @@ Rectangle { from: 0 - target.width to: 0 duration: 300 + easing.type: Easing.OutCubic } PropertyAnimation { target: exitItem @@ -197,6 +198,7 @@ Rectangle { from: 0 to: target.width duration: 300 + easing.type: Easing.OutCubic } } }