Commit f80a8f42 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'optimize/overlay' into 'main'

优化一下超量召唤的动画速度

See merge request !324
parents 916a072b 64889ca2
Pipeline #23617 passed with stages
in 16 minutes and 49 seconds
......@@ -117,7 +117,12 @@ export default async (move: MsgMove) => {
await callCardMove(overlayMaterial.uuid);
} else {
console.warn(
`<Move>overlayMaterial from zone=${location.zone}, controller=${location.controller}, sequence=${location.sequence}, overlay_sequence=${location.overlay_sequence} is null`,
`<Move>overlayMaterial from
zone=${location.zone},
controller=${location.controller},
sequence=${location.sequence},
overlay_sequence=${location.overlay_sequence}
is null`,
);
}
}
......
......@@ -121,6 +121,7 @@ export const moveToGround: MoveFunc = async (props) => {
zIndex: is_overlay ? 1 : 3,
config: {
easing: easings.easeInQuad,
duration: 200,
clamp: true,
},
});
......
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