Skip to content

Commit

Permalink
use icon component directly
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Oct 14, 2024
1 parent 8508ccb commit 258ad8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
22 changes: 0 additions & 22 deletions components/PlayerHead.vue

This file was deleted.

8 changes: 5 additions & 3 deletions components/map/PlayerMarker.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<template>
<l-marker :lat-lng="latLng">
<l-icon :icon-size="[32, 32]" :icon-anchor="[16, 16]" class="icon">
<PlayerHead :uuid="player.uuid" />
</l-icon>
<l-icon
:icon-size="[32, 32]"
:icon-anchor="[16, 16]"
:icon-url="`https://mineskin.eu/avatar/${player.uuid}/32.png`"
/>
</l-marker>
</template>

Expand Down

0 comments on commit 258ad8e

Please sign in to comment.