From 4119f69879166ba152f6daab39459bf953aa7d3b Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Tue, 13 Apr 2021 12:30:15 +0200 Subject: [PATCH] HotFix - Key up m when user write message - Size game share --- front/dist/resources/html/gameShare.html | 2 +- front/src/Phaser/Game/GameScene.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/front/dist/resources/html/gameShare.html b/front/dist/resources/html/gameShare.html index 85f63b80..60c2ee0f 100644 --- a/front/dist/resources/html/gameShare.html +++ b/front/dist/resources/html/gameShare.html @@ -5,7 +5,7 @@ border-radius: 6px; margin: 20px auto 0; width: 298px; - height: 150px; + height: 160px; } #gameShare h1 { background-image: linear-gradient(top, #f1f3f3, #d4dae0); diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 6c4c6e3e..29d9cd5b 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -440,9 +440,10 @@ export class GameScene extends ResizableScene implements CenterListener { this.openChatIcon = new OpenChatIcon(this, 2, this.game.renderer.height - 2) // FIXME: change this to use the UserInputManager class for input - this.input.keyboard.on('keyup-M', () => { + // FIXME: Comment this feature because when user write M key in report input, the layout change. + /*this.input.keyboard.on('keyup-M', () => { this.switchLayoutMode(); - }); + });*/ this.reposition();