fix annoying card refresh
This commit is contained in:
parent
ed14d34f4b
commit
7a89731213
@ -27,7 +27,7 @@
|
|||||||
<div v-if="lives > 0 || is_ghost" style="position:relative">
|
<div v-if="lives > 0 || is_ghost" style="position:relative">
|
||||||
<span id="hand_text">{{$t('hand')}}</span>
|
<span id="hand_text">{{$t('hand')}}</span>
|
||||||
<transition-group name="list" tag="div" class="hand">
|
<transition-group name="list" tag="div" class="hand">
|
||||||
<Card v-for="(card, i) in handComputed" v-bind:key="i+card.name+card.number" :card="card"
|
<Card v-for="card in handComputed" v-bind:key="card.name+card.number" :card="card"
|
||||||
@click.native="play_card(card, false)"
|
@click.native="play_card(card, false)"
|
||||||
@pointerenter.native="hint=($i18n.locale=='it'?card.desc:card.desc_eng)" @pointerleave.native="hint=''"
|
@pointerenter.native="hint=($i18n.locale=='it'?card.desc:card.desc_eng)" @pointerleave.native="hint=''"
|
||||||
:class="{'cant-play':card.cantBePlayed}"/>
|
:class="{'cant-play':card.cantBePlayed}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user