Reduced modals height on mobile, fixed public lobby button bug

This commit is contained in:
NewHappyRabbit
2025-02-24 20:52:06 +02:00
parent f995fc4ec6
commit d9beeb8c60
6 changed files with 15 additions and 7 deletions
+2
View File
@@ -95,6 +95,7 @@ class Client {
.addEventListener("click", () => {
if (this.usernameInput.isValid()) {
hostModal.open();
this.publicLobby.leaveLobby();
}
});
@@ -172,6 +173,7 @@ class Client {
consolex.log("leaving lobby, cancelling game");
this.gameStop();
this.gameStop = null;
this.publicLobby.leaveLobby();
}
private async handleSinglePlayer(event: CustomEvent) {