From 18f52c01bb247db76082b5bd37f42dbc63500a68 Mon Sep 17 00:00:00 2001 From: FloPinguin <25036848+FloPinguin@users.noreply.github.com> Date: Tue, 17 Feb 2026 00:28:43 +0100 Subject: [PATCH] =?UTF-8?q?Improve=20moble=20UI=20again=20=E2=9C=A8=20(#32?= =?UTF-8?q?26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description: - Fix HeadsUpMessage appearing above Settings modal - Fix HeadsUpMessage appearing above Leaderboard - Remove PlayerInfoOverlay show/hide animation (we need quick access to the data!) - Close PlayerInfoOverlay on tap outside the map (gray area) - Fix error when tapping gray area outside the map - Close PlayerInfoOverlay on click/tap on itself ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: FloPinguin --- src/client/graphics/layers/GameLeftSidebar.ts | 2 +- src/client/graphics/layers/HeadsUpMessage.ts | 4 ++-- src/client/graphics/layers/PlayerInfoOverlay.ts | 10 ++++++++-- src/client/graphics/layers/UnitLayer.ts | 4 ++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/client/graphics/layers/GameLeftSidebar.ts b/src/client/graphics/layers/GameLeftSidebar.ts index 9fb4a3ace..05f8aa80a 100644 --- a/src/client/graphics/layers/GameLeftSidebar.ts +++ b/src/client/graphics/layers/GameLeftSidebar.ts @@ -108,7 +108,7 @@ export class GameLeftSidebar extends LitElement implements Layer { render() { return html`