From 8a79905b99ff83e7e24dd967b60dcd6b044767c1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 5 Jul 2026 15:55:12 +0100 Subject: [PATCH] Keep embedded menu panels transparent --- Aetheria.Rts.Web/Electron/aetheria-cultmesh.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Aetheria.Rts.Web/Electron/aetheria-cultmesh.ts b/Aetheria.Rts.Web/Electron/aetheria-cultmesh.ts index bece47737..a200cd745 100644 --- a/Aetheria.Rts.Web/Electron/aetheria-cultmesh.ts +++ b/Aetheria.Rts.Web/Electron/aetheria-cultmesh.ts @@ -893,6 +893,7 @@ function surfaceDocument( commands: AetheriaMenuSurfaceCommand[], ...children: AetheriaMenuSurfaceComponent[] ): AetheriaMenuSurfaceDocument { + const isMenuShell = surfaceId === "aetheria.main_menu.shell"; return { providerId: "aetheria", providerKind: "game.menu", @@ -906,7 +907,7 @@ function surfaceDocument( "surface", {}, { position: "relative", overflow: "hidden", width: "100%", height: "100vh", minHeight: "100vh" }, - { background: "#020606" }, + { background: isMenuShell ? "#020606" : "rgba(0,0,0,0)" }, ...children), styles: [ { name: "font.title.family", value: "Montserrat" },