mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01:00
Update reversi.room.vue
This commit is contained in:
parent
d13999d689
commit
aa34e332f4
1 changed files with 6 additions and 3 deletions
|
@ -22,8 +22,8 @@
|
||||||
<div v-for="(x, i) in game.settings.map.join('')"
|
<div v-for="(x, i) in game.settings.map.join('')"
|
||||||
:data-none="x == ' '"
|
:data-none="x == ' '"
|
||||||
@click="onPixelClick(i, x)">
|
@click="onPixelClick(i, x)">
|
||||||
<template v-if="x == 'b'"><template v-if="$store.state.device.darkmode"><fa :icon="['far', 'circle']"/></template><template v-else><fa icon="circle"/></template></template>
|
<fa v-if="x == 'b'" :icon="fasCircle"/>
|
||||||
<template v-if="x == 'w'"><template v-if="$store.state.device.darkmode"><fa :icon="['far', 'circle']"/></template><template v-else><fa icon="circle"/></template></template>
|
<fa v-if="x == 'w'" :icon="farCircle"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -117,6 +117,8 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import i18n from '../../../../../i18n';
|
import i18n from '../../../../../i18n';
|
||||||
import * as maps from '../../../../../../../games/reversi/maps';
|
import * as maps from '../../../../../../../games/reversi/maps';
|
||||||
|
import { faCircle as fasCircle } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
import { faCircle as farCircle } from '@fortawesome/free-regular-svg-icons';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
i18n: i18n('common/views/components/games/reversi/reversi.room.vue'),
|
i18n: i18n('common/views/components/games/reversi/reversi.room.vue'),
|
||||||
|
@ -129,7 +131,8 @@ export default Vue.extend({
|
||||||
mapName: maps.eighteight.name,
|
mapName: maps.eighteight.name,
|
||||||
maps: maps,
|
maps: maps,
|
||||||
form: null,
|
form: null,
|
||||||
messages: []
|
messages: [],
|
||||||
|
fasCircle, farCircle
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue