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) => { ...@@ -117,7 +117,12 @@ export default async (move: MsgMove) => {
await callCardMove(overlayMaterial.uuid); await callCardMove(overlayMaterial.uuid);
} else { } else {
console.warn( 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) => { ...@@ -121,6 +121,7 @@ export const moveToGround: MoveFunc = async (props) => {
zIndex: is_overlay ? 1 : 3, zIndex: is_overlay ? 1 : 3,
config: { config: {
easing: easings.easeInQuad, easing: easings.easeInQuad,
duration: 200,
clamp: true, 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