Skip to content

Commit

Permalink
feat: adds party mode
Browse files Browse the repository at this point in the history
  • Loading branch information
posixpascal committed Jul 26, 2024
1 parent 38bca3b commit 1536d33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/components/game/GameMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ export default class GameMap extends Vue {
className: 'distance-label',
html: `<div style="
white-space: nowrap;
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: black;">${player.username}: ${distance} km</div>`,
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: #ffffff;">${player.username}: ${distance} km</div>`,
});
}
return divIcon({
className: 'distance-label',
html: `<div style="
white-space: nowrap;
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: black;">${distance} km</div>`,
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: #ffffff;">${distance} km</div>`,
});
}
Expand Down

0 comments on commit 1536d33

Please sign in to comment.