Skip to content

Commit 27c73a3

Browse files
committed
fix formatBezier wrong return value
fix the wrong return value from "controlX1, controlY2, controlX2, controlY2" to "controlX1, controlY1, controlX2, controlY2"
1 parent 5bd802a commit 27c73a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default function formatBezier(easing) {
22
if (easing) {
33
let m = easing.match(/cubicBezier\((.+),(.+),(.+),(.+)\)/);
4-
return m && [m[1], m[4], m[3], m[4]];
4+
return m && [m[1], m[2], m[3], m[4]];
55
}
66
}

0 commit comments

Comments
 (0)