fix all the shit i broke

This commit is contained in:
ntr 2019-09-16 20:49:46 +10:00
parent 0659e121df
commit f9d36fce63
3 changed files with 14 additions and 3 deletions

View File

@ -197,12 +197,19 @@
} }
.combat-anim { .combat-anim {
max-width: 100%;
max-height: 100%;
height: 100%;
width: 100%;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
} }
.combat-anim svg { .combat-anim svg {
flex: 1 flex: 1;
// chrome shit
width: 100%;
height: 100%;
} }
.game-construct.red-damage { .game-construct.red-damage {

View File

@ -53,6 +53,7 @@ function createSocket(store) {
timeout - TIMES.POST_SKILL_DURATION_MS timeout - TIMES.POST_SKILL_DURATION_MS
); );
} }
return false;
return setTimeout(() => { return setTimeout(() => {
store.dispatch(actions.setAnimSource(null)); store.dispatch(actions.setAnimSource(null));
store.dispatch(actions.setAnimTarget(null)); store.dispatch(actions.setAnimTarget(null));

View File

@ -33,9 +33,12 @@ function FaceoffConstruct(args) {
return ( return (
<div class='game-construct'> <div class='game-construct'>
<div class="left"></div>
<div class="right">
<h3 class="name"> {construct.name} </h3> <h3 class="name"> {construct.name} </h3>
<ConstructAvatar construct={construct} /> <ConstructAvatar construct={construct} />
</div> </div>
</div>
) )
} }