mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-25 15:25:35 -04:00
partially fix menu fade in
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
</head>
|
||||
<body class="window">
|
||||
<!-- <handle move_target="#document"> -->
|
||||
<div id="window" style="display:flex; flex-flow: column; background-color:rgba(0,0,0,0)" onkeydown="config_keydown">
|
||||
<div id="window" class="rmlui-window rmlui-window--hidden" style="display:flex; flex-flow: column; background-color:rgba(0,0,0,0)" onkeydown="config_keydown">
|
||||
<div class="centered-page" onclick="close_config_menu_backdrop">
|
||||
<div class="centered-page__modal">
|
||||
<tabset class="tabs" id="config_tabset">
|
||||
|
||||
@@ -797,9 +797,12 @@ struct UIContext {
|
||||
current_document = find_it->second;
|
||||
Rml::Element* window_el = current_document->GetElementById("window");
|
||||
if (window_el != nullptr) {
|
||||
window_el->SetClassNames("rmlui-window");
|
||||
window_el->SetClassNames("rmlui-window rmlui-window--hidden");
|
||||
}
|
||||
current_document->Show();
|
||||
if (window_el != nullptr) {
|
||||
window_el->SetClassNames("rmlui-window");
|
||||
}
|
||||
}
|
||||
else {
|
||||
current_document = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user