make menu fade anim not arbitrary

This commit is contained in:
end-4
2025-11-13 23:44:21 +01:00
parent 1495669a60
commit 18c264a85e
@@ -155,22 +155,22 @@ ComboBox {
padding: 8 padding: 8
enter: Transition { enter: Transition {
NumberAnimation { PropertyAnimation {
property: "opacity" properties: "opacity"
from: 0
to: 1 to: 1
duration: 150 duration: Appearance.animation.elementMoveFast.duration
easing.type: Easing.OutCubic easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.animation.elementMoveFast.bezierCurve
} }
} }
exit: Transition { exit: Transition {
NumberAnimation { PropertyAnimation {
property: "opacity" properties: "opacity"
from: 1
to: 0 to: 0
duration: 100 duration: Appearance.animation.elementMoveFast.duration
easing.type: Easing.InCubic easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.animation.elementMoveFast.bezierCurve
} }
} }