partially fix menu fade in

This commit is contained in:
thecozies
2024-03-02 11:52:58 -06:00
parent 3b962c5b7c
commit e13a46ec6b
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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;