Commit 7bc3c31b authored by Chunchi Che's avatar Chunchi Che

update monster ui

parent 34ee3852
Pipeline #18931 passed with stages
in 2 minutes and 29 seconds
......@@ -84,7 +84,9 @@ export const clearMonsterSelectInfoImpl: CaseReducer<
: state.opMonsters;
if (monsters) {
monsters.monsters = [];
for (const monster of monsters.monsters) {
monster.selectInfo = undefined;
}
}
};
......
......@@ -72,7 +72,7 @@ const CommonMonster = (props: { state: Monster }) => {
)
: new BABYLON.Texture(`http://localhost:3030/images/card_slot.png`)
}
alpha={0.2}
alpha={props.state.occupant ? 1 : 0}
></standardMaterial>
</plane>
);
......
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