Commit e3758624 authored by Chunchi Che's avatar Chunchi Che

make animation faster

parent 5f2cff6b
......@@ -107,7 +107,7 @@ export const moveToGround: MoveFunc = async (props) => {
ry,
rz,
config: {
tension: 250,
duration: 200,
clamp: true,
easing: easings.easeOutSine,
},
......@@ -121,7 +121,7 @@ export const moveToGround: MoveFunc = async (props) => {
zIndex: is_overlay ? 1 : 3,
config: {
easing: easings.easeInQuad,
duration: 200,
duration: 100,
clamp: true,
},
});
......
......@@ -55,5 +55,9 @@ export const moveToHand: MoveFunc = async (props) => {
height: HAND_CARD_HEIGHT,
zIndex: sequence,
// rx: -PLANE_ROTATE_X,
config: {
duration: 200,
clamp: true,
},
});
};
......@@ -42,7 +42,8 @@ export const moveToOutside: MoveFunc = async (props) => {
subZ: 100,
zIndex: sequence,
config: {
tension: 140,
duration: 200,
clamp: true,
},
});
api.set({ subZ: 0 });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment