mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
feat: cubic-bezier curve for animation (#2059)
* feat: bezier curve for animation * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
+10
-1
@@ -441,6 +441,10 @@ mod tests {
|
||||
}
|
||||
|
||||
window-open { off; }
|
||||
|
||||
window-close {
|
||||
curve "cubic-bezier" 0.05 0.7 0.1 1
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
@@ -1038,7 +1042,12 @@ mod tests {
|
||||
kind: Easing(
|
||||
EasingParams {
|
||||
duration_ms: 150,
|
||||
curve: EaseOutQuad,
|
||||
curve: CubicBezier(
|
||||
0.05,
|
||||
0.7,
|
||||
0.1,
|
||||
1.0,
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user