mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
UI: Keep tail windows and dialogs mounted but hidden on pages where they are not shown (#769)
This commit is contained in:
parent
ae87851889
commit
52769706d2
@ -398,15 +398,13 @@ export function GameRoot(): React.ReactElement {
|
||||
<Box className={classes.root}>{mainPage}</Box>
|
||||
)}
|
||||
<Unclickable />
|
||||
{withPopups && (
|
||||
<>
|
||||
<LogBoxManager />
|
||||
<AlertManager />
|
||||
<PromptManager />
|
||||
<InvitationModal />
|
||||
<Snackbar />
|
||||
</>
|
||||
)}
|
||||
<div style={{ display: withPopups ? "inherit" : "none", position: "absolute" }}>
|
||||
<LogBoxManager />
|
||||
<AlertManager />
|
||||
<PromptManager />
|
||||
<InvitationModal />
|
||||
<Snackbar />
|
||||
</div>
|
||||
<Apr1 />
|
||||
</SnackbarProvider>
|
||||
</HistoryProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user