forked from Shinonome/dots-hyprland
make menu fade anim not arbitrary
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user