From 3f21039ba4f5e1b075a018a2ee8982ad8b5f7106 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 18 Feb 2023 21:37:18 -0600 Subject: [PATCH] Finding match improvements --- src/data/common.css | 6 ++++++ src/data/projEntry.tsx | 3 ++- src/data/socket.tsx | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/data/common.css b/src/data/common.css index dcf93dc..961fc33 100644 --- a/src/data/common.css +++ b/src/data/common.css @@ -1,3 +1,9 @@ +.game-container { + display: flex; + flex-direction: column; + height: 100%; +} + .modifier-toggle { padding-right: 10px; transform: translateY(-1px); diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index c7bb697..a955687 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -103,7 +103,8 @@ export const main = createLayer("main", function (this: BaseLayer) { minimizable: false, display: jsx(() => (
{ selectedCharacter.value = null; selectedShopItem.value = null; diff --git a/src/data/socket.tsx b/src/data/socket.tsx index 38262b0..44dc72c 100644 --- a/src/data/socket.tsx +++ b/src/data/socket.tsx @@ -94,6 +94,9 @@ function setupSocket(socket: Socket) socket.on("info", message => { toast.info(message); + if (message === "Failed to start streaming") { + main.findingMatch.value = false; + } }); socket.on("nickname", nick => { nickname.value = nick;