mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 18:33:13 +00:00
Reduced modals height on mobile, fixed public lobby button bug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user