Merge pull request #895 from thecodingmachine/hotFixKeyUp

HotFix
This commit is contained in:
grégoire parant
2021-04-13 12:32:18 +02:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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);
+3 -2
View File
@@ -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();