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
commit f5f4ee229b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

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);

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();