Keep embedded menu panels transparent
This commit is contained in:
parent
0a1403bda3
commit
8a79905b99
1 changed files with 2 additions and 1 deletions
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue