improve mouse lock and split up screen rendering into two canvas elements

This commit is contained in:
LabyStudio
2022-02-04 14:28:05 +01:00
parent a6f365225c
commit 039d799bed
5 changed files with 60 additions and 52 deletions
+1
View File
@@ -119,6 +119,7 @@ window.Minecraft = class {
if (screen === null) {
this.window.requestFocus();
} else {
this.window.exitFocus();
screen.setup(this, this.window.width, this.window.height);
}
}