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:
Horu
2025-08-29 15:31:50 +10:00
committed by GitHub
parent d9833fc1c3
commit 1ffda91e0c
5 changed files with 181 additions and 6 deletions
+10 -1
View File
@@ -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,
),
},
),
},