vlc | branch: master | Fatih Uzunoglu <[email protected]> | Tue Jul 28 
21:43:55 2020 +0300| [a8e0f9d75bd70fcebdd52da9ea0f5945a565e11d] | committer: 
Pierre Lamot

qml: make miniplayer animation smooth

Signed-off-by: Pierre Lamot <[email protected]>

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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to