make hp bars always show

This commit is contained in:
Branden J Brown 2024-02-03 14:13:23 -06:00
parent d8d38275f0
commit b5ba169ce4
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template>
<v-sheet :elevation="2" width="100" class="text-center">
<v-sheet :elevation="2" width="100" height="30" class="text-center">
{{ text }}
</v-sheet>
</template>
@ -13,5 +13,5 @@ export interface Props {
const props = defineProps<Props>();
const text = computed(() => '⚡'.repeat(props.hp));
const text = computed(() => '⚡'.repeat(props.hp) || ' ');
</script>