[vlc-devel] [PATCH 18/28] qml: make DrawerExt animation smooth
Fatih Uzunoglu
fuzun54 at outlook.com
Tue Jul 21 19:28:48 CEST 2020
---
modules/gui/qt/widgets/qml/DrawerExt.qml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/widgets/qml/DrawerExt.qml b/modules/gui/qt/widgets/qml/DrawerExt.qml
index c72e6bd268..b7fbc4e1fc 100644
--- a/modules/gui/qt/widgets/qml/DrawerExt.qml
+++ b/modules/gui/qt/widgets/qml/DrawerExt.qml
@@ -92,7 +92,7 @@ NavigableFocusScope {
Transition {
to: "hidden"
SequentialAnimation {
- NumberAnimation { target: container; property: toChange; duration: 200}
+ NumberAnimation { target: container; property: toChange; duration: 150; easing.type: Easing.InSine}
PropertyAction{ target: container; property: "visible" }
}
},
@@ -100,7 +100,7 @@ NavigableFocusScope {
to: "visible"
SequentialAnimation {
PropertyAction{ target: container; property: "visible" }
- NumberAnimation { target: container; property: toChange; duration: 200 }
+ NumberAnimation { target: container; property: toChange; duration: 150; easing.type: Easing.OutSine}
}
}
]
--
2.25.1
More information about the vlc-devel
mailing list