Remove whitespace around game component
This commit is contained in:
parent
1d36ed349b
commit
9c309630ae
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user