[vlc-commits] qml: disable animations in the toolbar editor
Pierre Lamot
git at videolan.org
Mon Oct 14 11:59:00 CEST 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Oct 1 09:40:35 2019 +0200| [d3108cb7c2b009d1b097a4a99848d50dfd2bc75b] | committer: Jean-Baptiste Kempf
qml: disable animations in the toolbar editor
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3108cb7c2b009d1b097a4a99848d50dfd2bc75b
---
modules/gui/qt/qml/dialogs/EditorDNDView.qml | 6 +++---
modules/gui/qt/qml/dialogs/ToolbarEditorButtonList.qml | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt/qml/dialogs/EditorDNDView.qml b/modules/gui/qt/qml/dialogs/EditorDNDView.qml
index ce2292d0d9..997148833a 100644
--- a/modules/gui/qt/qml/dialogs/EditorDNDView.qml
+++ b/modules/gui/qt/qml/dialogs/EditorDNDView.qml
@@ -91,7 +91,7 @@ ListView {
anchors.verticalCenter: currentIndex > 0 ? parent.verticalCenter : undefined
color: VLCStyle.colors.bgHover
}
- displaced: Transition {
- NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad }
- }
+
+ highlightMoveDuration: 0 //ms
+ highlightResizeDuration: 0 //ms
}
diff --git a/modules/gui/qt/qml/dialogs/ToolbarEditorButtonList.qml b/modules/gui/qt/qml/dialogs/ToolbarEditorButtonList.qml
index a4b2f3e76d..f0091e3f7b 100644
--- a/modules/gui/qt/qml/dialogs/ToolbarEditorButtonList.qml
+++ b/modules/gui/qt/qml/dialogs/ToolbarEditorButtonList.qml
@@ -34,6 +34,8 @@ GridView{
ScrollBar.vertical: ScrollBar {}
model: controlButtons.buttonL.length
+ highlightMoveDuration: 0 //ms
+
delegate:MouseArea{
id:dragArea
objectName: "buttonsList"
More information about the vlc-commits
mailing list