Commit d44bd1b0 authored by timel's avatar timel

fix: focusing card's z

parent fe9dff80
...@@ -16,6 +16,7 @@ export const focus = async (props: { card: CardType; api: SpringApi }) => { ...@@ -16,6 +16,7 @@ export const focus = async (props: { card: CardType; api: SpringApi }) => {
y: current.y + (matStore.isMe(card.location.controller) ? -1 : 1) * 120, // TODO: 放到config之中 y: current.y + (matStore.isMe(card.location.controller) ? -1 : 1) * 120, // TODO: 放到config之中
ry: 0, ry: 0,
rz: 0, rz: 0,
z: current.z + 50,
}); });
await asyncStart(api)({ await asyncStart(api)({
y: current.y, y: current.y,
......
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