[vlc-devel] [PATCH 13/38] qml: make miniplayer animation smooth

Fatih Uzunoglu fuzun54 at outlook.com
Thu Aug 20 19:55:22 CEST 2020


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



More information about the vlc-devel mailing list