show desc if there is only one card, makes it easier on mobile
This commit is contained in:
parent
b43e26805c
commit
878333746e
@ -62,6 +62,9 @@ export default {
|
|||||||
if (this.realCancelText == '') {
|
if (this.realCancelText == '') {
|
||||||
this.realCancelText = this.$t('cancel')
|
this.realCancelText = this.$t('cancel')
|
||||||
}
|
}
|
||||||
|
if (this.cards.length == 1) {
|
||||||
|
this.showDesc(this.cards[0])
|
||||||
|
}
|
||||||
if (this.playAudio) {
|
if (this.playAudio) {
|
||||||
(new Audio(show_sfx)).play();
|
(new Audio(show_sfx)).play();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user