make scaled sprites look nice
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user