mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: remove Easings easeOutCubic func
This commit is contained in:
parent
b6c5db845c
commit
5f153c1d83
@ -1,4 +1,4 @@
|
||||
const Eases = {
|
||||
const Easings = {
|
||||
easeInOutCubic: (t: number, b: number, c: number, d: number) => {
|
||||
const cc = c - b;
|
||||
t /= d / 2;
|
||||
@ -7,11 +7,6 @@ const Eases = {
|
||||
}
|
||||
return (cc / 2) * ((t -= 2) * t * t + 2) + b;
|
||||
},
|
||||
easeOutCubic: (t: number, b: number, c: number, d: number) => {
|
||||
const cc = c - b;
|
||||
t /= d - 1;
|
||||
return cc * (t * t * t + 1) + b;
|
||||
},
|
||||
};
|
||||
|
||||
export default Eases;
|
||||
export default Easings;
|
||||
|
Loading…
Reference in New Issue
Block a user