vlc | branch: master | Fatih Uzunoglu <[email protected]> | Fri Nov 20 
21:32:31 2020 +0300| [f436865053858098895cd080f4ed4350ea35dc64] | committer: 
Pierre Lamot

qml: add animations to customization window (toolbareditor) listviews

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

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

 modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml 
b/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
index b44077ea30..5e659e79f5 100644
--- a/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
+++ b/modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
@@ -45,6 +45,19 @@ ListView {
             scrollBar.increase()
     }
 
+    remove: Transition {
+        NumberAnimation { property: "opacity"; from: 1.0; to: 0; duration: 200 
}
+    }
+
+    add: Transition {
+        NumberAnimation { property: "opacity"; from: 0; to: 1.0; duration: 200 
}
+    }
+
+    displaced: Transition {
+        NumberAnimation { properties: "x"; duration: 200; easing.type: 
Easing.OutSine }
+        NumberAnimation { property: "opacity"; to: 1.0 }
+    }
+    
     MouseArea {
         anchors.fill: parent
         z: 1

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

Reply via email to