[vlc-commits] qml: make miniplayer animation smooth

Fatih Uzunoglu git at videolan.org
Thu Aug 27 12:44:42 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Tue Jul 28 21:43:55 2020 +0300| [a8e0f9d75bd70fcebdd52da9ea0f5945a565e11d] | committer: Pierre Lamot

qml: make miniplayer animation smooth

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/gui/qt/player/qml/MiniPlayer.qml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/player/qml/MiniPlayer.qml b/modules/gui/qt/player/qml/MiniPlayer.qml
index 708e44acd6..ecc182ae97 100644
--- a/modules/gui/qt/player/qml/MiniPlayer.qml
+++ b/modules/gui/qt/player/qml/MiniPlayer.qml
@@ -38,7 +38,8 @@ Widgets.NavigableFocusScope {
         id: animateExpand;
         target: root;
         properties: "implicitHeight"
-        duration: 250
+        duration: 200
+        easing.type: Easing.InSine
         to: root.childrenRect.height
     }
 
@@ -46,7 +47,8 @@ Widgets.NavigableFocusScope {
         id: animateRetract;
         target: root;
         properties: "implicitHeight"
-        duration: 250
+        duration: 200
+        easing.type: Easing.OutSine
         to: 0
     }
 



More information about the vlc-commits mailing list