mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
fix: review change
This commit is contained in:
parent
b4a228c4f4
commit
554d8cb3e3
@ -1,4 +1,4 @@
|
||||
function easeInOutCubic(t: number, b: number, c: number, d: number) {
|
||||
export function easeInOutCubic(t: number, b: number, c: number, d: number) {
|
||||
const cc = c - b;
|
||||
t /= d / 2;
|
||||
if (t < 1) {
|
||||
@ -6,5 +6,3 @@ function easeInOutCubic(t: number, b: number, c: number, d: number) {
|
||||
}
|
||||
return (cc / 2) * ((t -= 2) * t * t + 2) + b;
|
||||
}
|
||||
|
||||
export { easeInOutCubic };
|
||||
|
Loading…
Reference in New Issue
Block a user