Commit d51f074f authored by Chunchi Che's avatar Chunchi Che

fix small

parent 8add806b
Pipeline #21752 passed with stages
in 14 minutes and 37 seconds
...@@ -63,6 +63,11 @@ export default async (move: MsgMove) => { ...@@ -63,6 +63,11 @@ export default async (move: MsgMove) => {
} }
} }
if (chainIndex) {
// 如果`chainIndex`不为空,则连锁位置变了,需要更新连锁栈的状态
matStore.chains[chainIndex - 1] = to;
}
switch (to.location) { switch (to.location) {
// @ts-ignore // @ts-ignore
case ygopro.CardZone.MZONE: { case ygopro.CardZone.MZONE: {
......
...@@ -20,6 +20,7 @@ export const Chain: React.FC<{ chainIdx: number }> = (props: { ...@@ -20,6 +20,7 @@ export const Chain: React.FC<{ chainIdx: number }> = (props: {
{calcXYs(30, CIRCLES_COUNT).map((item, idx) => ( {calcXYs(30, CIRCLES_COUNT).map((item, idx) => (
<div <div
className="circle" className="circle"
key={idx}
style={ style={
{ {
"--x": item.X + "px", "--x": item.X + "px",
......
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