diff --git a/src/components/screens/Game.vue b/src/components/screens/Game.vue index 7be880c..b099b87 100644 --- a/src/components/screens/Game.vue +++ b/src/components/screens/Game.vue @@ -37,7 +37,10 @@ const gameConfig = { width: window.innerWidth, height: window.innerHeight, type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS - resolution: 5 + resolution: 5, + input: { + windowEvents: false + } } const createGame = (game: Phaser.Game) => { diff --git a/src/components/screens/MapEditor.vue b/src/components/screens/MapEditor.vue index c518393..ec4d43f 100644 --- a/src/components/screens/MapEditor.vue +++ b/src/components/screens/MapEditor.vue @@ -62,7 +62,10 @@ const gameConfig = { width: window.innerWidth, height: window.innerHeight, type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS - resolution: 5 + resolution: 5, + input: { + windowEvents: false + } } const createGame = (game: Phaser.Game) => {