[vlc-devel] [PATCH 3/4] qml: change searchbox animation properties
Fatih Uzunoglu
fuzun54 at outlook.com
Fri Oct 9 19:02:42 CEST 2020
lower duration, set easing type sine
---
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
}
--
2.25.1
More information about the vlc-devel
mailing list