merge dev, apply partey changes

This commit is contained in:
_Bastler 2021-04-13 15:05:47 +02:00
commit 689673e7cc
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import {HtmlUtils} from "../../WebRtc/HtmlUtils";
const IGNORED_KEYS = new Set([
'Esc',

View File

@ -1,3 +1,4 @@
import {HtmlUtils} from "../../WebRtc/HtmlUtils";
import {gameManager} from "../Game/GameManager";
import {TextField} from "../Components/TextField";
import {TextInput} from "../Components/TextInput";
@ -77,6 +78,11 @@ export class LoginScene extends ResizableScene {
this.login(this.name);
}
});
this.events.on('destroy', () => {
// Make sure the virtual keyboard isn't visible in the next scene
nameInputElement.blur()
})
}
update(time: number, delta: number): void {

View File

@ -12,7 +12,7 @@ module.exports = {
devServer: {
contentBase: './dist',
host: '0.0.0.0',
sockPort: 80,
sockPort: 443,
disableHostCheck: true,
historyApiFallback: {
rewrites: [