make scaled sprites look nice

This commit is contained in:
Phillip Thelen
2024-07-01 18:48:24 +02:00
parent a3cbadb8c2
commit 2e6a300c46
@@ -1,10 +1,17 @@
<template>
<img
class="pixel-art"
v-if="imageName && imageName !== ''"
:src="imageUrl()"
>
</template>
<style>
.pixel-art {
image-rendering: pixelated;
}
</style>
<script>
import GIF_SPRITES from '@/../../common/script/content/constants/gifSprites';