1
0
forked from noxious/client

Remove whitespace around game component

This commit is contained in:
Dennis Postma 2024-09-07 20:04:25 +02:00
parent 1d36ed349b
commit 9c309630ae

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="flex justify-center items-center h-dvh p-8 relative"> <div class="flex justify-center items-center h-dvh relative">
<GmTools v-if="isLoaded && gameStore.character?.role === 'gm'" /> <GmTools v-if="isLoaded && gameStore.character?.role === 'gm'" />
<GmPanel v-if="isLoaded && gameStore.character?.role === 'gm'" /> <GmPanel v-if="isLoaded && gameStore.character?.role === 'gm'" />
<Inventory /> <Inventory />
@ -64,10 +64,8 @@ const gameConfig = {
height: window.innerHeight, height: window.innerHeight,
type: Phaser.AUTO, type: Phaser.AUTO,
scale: { scale: {
mode: Phaser.Scale.RESIZE, mode: Phaser.Scale.EXPAND,
autoCenter: Phaser.Scale.CENTER_BOTH, autoCenter: Phaser.Scale.CENTER_BOTH,
width: window.innerWidth,
height: window.innerHeight
}, },
resolution: 5, resolution: 5,
pixelArt: true pixelArt: true