fix overlay + typing focus

This commit is contained in:
_Bastler 2021-05-14 11:59:38 +02:00
parent 1f5af5199d
commit d6e99d5f4d
2 changed files with 2 additions and 1 deletions

View File

@ -500,6 +500,7 @@ input[type=range]:focus::-ms-fill-upper {
width: 100%;
height: 100%;
pointer-events: none;
z-index: 999;
/* TODO: DO WE NEED FLEX HERE???? WE WANT A SIDEBAR OF EXACTLY 25% (note: flex useful for direction!!!) */
}

View File

@ -438,8 +438,8 @@ export class GameScene extends ResizableScene implements CenterListener {
//create input to move
mediaManager.setUserInputManager(this.userInputManager);
this.userInputManager = new UserInputManager(this);
mediaManager.setUserInputManager(this.userInputManager);
if (localUserStore.getFullscreen()) {
document.querySelector('body')?.requestFullscreen();