[vlc-commits] qml: make DrawerExt animation smooth

Fatih Uzunoglu git at videolan.org
Fri Jul 24 11:45:57 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Mon Jul  6 21:27:32 2020 +0300| [3ba090d01df9b0c80dd87705477fc969d468915c] | committer: Pierre Lamot

qml: make DrawerExt animation smooth

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ba090d01df9b0c80dd87705477fc969d468915c
---

 modules/gui/qt/widgets/qml/DrawerExt.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/widgets/qml/DrawerExt.qml b/modules/gui/qt/widgets/qml/DrawerExt.qml
index c72e6bd268..b7fbc4e1fc 100644
--- a/modules/gui/qt/widgets/qml/DrawerExt.qml
+++ b/modules/gui/qt/widgets/qml/DrawerExt.qml
@@ -92,7 +92,7 @@ NavigableFocusScope {
         Transition {
             to: "hidden"
             SequentialAnimation {
-                NumberAnimation { target: container; property: toChange; duration: 200}
+                NumberAnimation { target: container; property: toChange; duration: 150; easing.type: Easing.InSine}
                 PropertyAction{ target: container; property: "visible" }
             }
         },
@@ -100,7 +100,7 @@ NavigableFocusScope {
             to: "visible"
             SequentialAnimation {
                 PropertyAction{ target: container; property: "visible" }
-                NumberAnimation { target: container; property: toChange; duration: 200 }
+                NumberAnimation { target: container; property: toChange; duration: 150; easing.type: Easing.OutSine}
             }
         }
     ]



More information about the vlc-commits mailing list