This commit is contained in:
_Bastler 2021-05-18 07:58:47 +02:00
parent bfb6b118cd
commit 777987600f
2 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,9 @@
<style> <style>
#helpCameraSettings { #helpCameraSettings {
background: #eceeee; background: #eceeee;
border: 1px solid #42464b;
border-radius: 6px;
margin: 25px auto 0; margin: 25px auto 0;
width: 400px; width: 400px;
max-height: calc(48vh - 50px); max-height: calc(48vh - 150px);
max-width: 48vw; max-width: 48vw;
overflow: auto; overflow: auto;
padding-bottom: 10px; padding-bottom: 10px;
@ -70,7 +68,7 @@
} }
</style> </style>
<form id="helpCameraSettings" hidden> <form id="helpCameraSettings" class="nes-container" hidden>
<section class="text-center"> <section class="text-center">
<h5>Camera/Microphone access needed</h5> <h5>Camera/Microphone access needed</h5>
<p class="err" id="permissionError">Permission denied</p> <p class="err" id="permissionError">Permission denied</p>

View File

@ -1256,7 +1256,7 @@ export class GameScene extends DirtyScene implements CenterListener {
* @param delta The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate. * @param delta The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate.
*/ */
update(time: number, delta: number) : void { update(time: number, delta: number) : void {
this.dirty = true; this.dirty = false;
mediaManager.updateScene(); mediaManager.updateScene();
this.currentTick = time; this.currentTick = time;
if (this.CurrentPlayer.isMoving()) { if (this.CurrentPlayer.isMoving()) {