vlc | branch: master | Fatih Uzunoglu <[email protected]> | Fri Oct  9 
20:02:42 2020 +0300| [d77d4060be687cc88d6281ea4c58f98b7df3f255] | committer: 
Pierre Lamot

qml: change searchbox animation properties

lower duration, set easing type sine

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

 modules/gui/qt/widgets/qml/SearchBox.qml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/widgets/qml/SearchBox.qml 
b/modules/gui/qt/widgets/qml/SearchBox.qml
index 9d4eb1dbe7..2c6985b888 100644
--- a/modules/gui/qt/widgets/qml/SearchBox.qml
+++ b/modules/gui/qt/widgets/qml/SearchBox.qml
@@ -57,9 +57,9 @@ Widgets.NavigableFocusScope {
         id: animateExpand;
         target: searchBoxRect;
         properties: "width"
-        duration: 200
+        duration: 125
         to: VLCStyle.widthSearchInput
-        easing.type: Easing.OutSine
+        easing.type: Easing.InSine
         onStopped: {
             searchBox.placeholderText = i18n.qtr("filter")
         }
@@ -69,7 +69,7 @@ Widgets.NavigableFocusScope {
         id: animateRetract;
         target: searchBoxRect;
         properties: "width"
-        duration: 200
+        duration: 125
         to: 0
         easing.type: Easing.OutSine
     }

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

Reply via email to