Fix : add background z index

This commit is contained in:
2024-07-05 00:10:37 +02:00
parent 22d1d804f9
commit 694e8429d1
4 changed files with 10 additions and 7 deletions
+1
View File
@@ -164,6 +164,7 @@ onUnmounted(() => {
position: fixed;
height: 100%;
width: 100%;
z-index: -999999;
}
#background.pixelated {
+2
View File
@@ -5,12 +5,14 @@ export interface Props {
locked?: boolean;
wrapped?: boolean;
tilted?: boolean;
interactible?: boolean
}
const props = withDefaults(defineProps<Props>(), {
wrapped: () => false,
tilted: () => true,
locked: () => true,
interactible: () => true,
});
const emit = defineEmits(["click"]);
+1 -1
View File
@@ -63,7 +63,7 @@ const props = withDefaults(defineProps<Props>(), {
justify-content: center;
box-sizing: border-box;
transition: all 0.1s;
width: 300px;
min-width: 300px;
cursor: pointer;
}
+6 -6
View File
@@ -27,16 +27,16 @@ const isTurn = computed(
{{ team?.health }}
</span>
</div>
<!-- <div class="turn_icon" v-if="showTurnData">
<img src="/umg/gold.png" class="icon_img" draggable="false" />
<!-- <div class="turn_icon" v-if="isTurn">
<img src="/img/gold.png" class="icon_img" draggable="false" />
<span class="turn_icon_number">
{{ player.turn?.gold_reserve }}
{{ game.currentTurn.gold }}
</span>
</div>
<div class="turn_icon" v-if="showTurnData">
<img src="/umg/damage.png" class="icon_img" draggable="false" />
<div class="turn_icon" v-if="isTurn">
<img src="/img/damage.png" class="icon_img" draggable="false" />
<span class="turn_icon_number">
{{ player.turn?.damage_reserve }}
{{ game.currentTurn.damage }}
</span>
</div> -->
<div class="turn_icon">