fix(old-ui): show explorers on Lost Fleet map ships
This commit is contained in:
parent
5b9bc73391
commit
eef9f93cb4
2 changed files with 14 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gaia-project/old-ui",
|
||||
"version": "1.2.17",
|
||||
"version": "1.2.18",
|
||||
"scripts": {
|
||||
"serve": "vite --port 5193",
|
||||
"build": "vite build",
|
||||
|
|
|
|||
|
|
@ -55,6 +55,19 @@
|
|||
</text>
|
||||
<g v-if="lostFleetSpaceship" class="lost-fleet-spaceship">
|
||||
<text class="lost-fleet-spaceship__label" y="0" dy="0.315">{{ lostFleetSpaceshipLabel }}</text>
|
||||
<g
|
||||
v-for="(explorer, index) in explorers"
|
||||
:key="explorer.player"
|
||||
class="lost-fleet-spaceship__explorer"
|
||||
:class="{ recent: recentExploration(explorer) }"
|
||||
:data-player="explorer.player"
|
||||
:transform="`translate(${[-0.65, 0.65, 0, 0][index]}, ${[0, 0, -0.57, 0.57][index]})`"
|
||||
role="img"
|
||||
:aria-label="explorerLabel(explorer)"
|
||||
>
|
||||
<circle class="lost-fleet-spaceship__explorer-outline" r="0.3" />
|
||||
<circle :class="['planet-fill', playerPlanet(explorer.player)]" r="0.25" />
|
||||
</g>
|
||||
</g>
|
||||
<Planet
|
||||
v-if="showPlanet"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue