partially fix menu fade in
This commit is contained in:
parent
3b962c5b7c
commit
e13a46ec6b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue