Commit 2334a6ae authored by Chunchi Che's avatar Chunchi Che

修复额外怪兽区的状态展示

parent b1fba04e
...@@ -55,12 +55,13 @@ const BgExtraRow: React.FC<{ ...@@ -55,12 +55,13 @@ const BgExtraRow: React.FC<{
className={styles.extra} className={styles.extra}
onClick={() => { onClick={() => {
onBlockClick(meSnap[i].interactivity); onBlockClick(meSnap[i].interactivity);
onBlockClick(opSnap[i].interactivity); onBlockClick(opSnap[1 - i].interactivity);
}}
disabled={meSnap[i].disabled || opSnap[1 - i].disabled}
highlight={!!meSnap[i].interactivity || !!opSnap[1 - i].interactivity}
chains={{
chains: meSnap[i].chainIndex.concat(opSnap[1 - i].chainIndex),
}} }}
disabled={meSnap[i].disabled || opSnap[i].disabled}
highlight={!!meSnap[i].interactivity || !!opSnap[i].interactivity}
/* FIXME */
chains={{ chains: meSnap[i].chainIndex.concat(opSnap[i].chainIndex) }}
/> />
))} ))}
</div> </div>
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
.banish, .banish,
.graveyard { .graveyard {
left: 100%; left: 70%;
} }
.field, .field,
.extra-deck { .extra-deck {
right: 100%; right: 70%;
} }
.op { .op {
......
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