make hp bars always show
This commit is contained in:
parent
d8d38275f0
commit
b5ba169ce4
@ -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>
|
Loading…
Reference in New Issue
Block a user