forked from Shinonome/dots-hyprland
add missing bezier curve for screen translator
This commit is contained in:
@@ -282,6 +282,20 @@ Singleton {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
property QtObject elementMoveSmall: QtObject {
|
||||||
|
property int duration: animationCurves.expressiveFastSpatialDuration
|
||||||
|
property int type: Easing.BezierSpline
|
||||||
|
property list<real> bezierCurve: animationCurves.expressiveFastSpatial
|
||||||
|
property int velocity: 650
|
||||||
|
property Component numberAnimation: Component {
|
||||||
|
NumberAnimation {
|
||||||
|
duration: root.animation.elementMoveSmall.duration
|
||||||
|
easing.type: root.animation.elementMoveSmall.type
|
||||||
|
easing.bezierCurve: root.animation.elementMoveSmall.bezierCurve
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
property QtObject elementMoveEnter: QtObject {
|
property QtObject elementMoveEnter: QtObject {
|
||||||
property int duration: 400
|
property int duration: 400
|
||||||
property int type: Easing.BezierSpline
|
property int type: Easing.BezierSpline
|
||||||
@@ -361,7 +375,7 @@ Singleton {
|
|||||||
property QtObject scroll: QtObject {
|
property QtObject scroll: QtObject {
|
||||||
property int duration: 200
|
property int duration: 200
|
||||||
property int type: Easing.BezierSpline
|
property int type: Easing.BezierSpline
|
||||||
property list<real> bezierCurve: animationCurves.standardDecel
|
property list<real> bezierCurve: root.animationCurves.standardDecel
|
||||||
}
|
}
|
||||||
|
|
||||||
property QtObject menuDecel: QtObject {
|
property QtObject menuDecel: QtObject {
|
||||||
|
|||||||
Reference in New Issue
Block a user