console layout WIP

This commit is contained in:
MihailRis
2024-05-13 17:08:58 +03:00
parent 7ade504ec0
commit f4e98b2091
6 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ std::unique_ptr<UiDocument> UiDocument::read(scriptenv penv, std::string name, f
auto xmldoc = xml::parse(file.u8string(), text);
auto env = penv == nullptr
? scripting::get_root_environment()
? scripting::create_doc_environment(scripting::get_root_environment(), name)
: scripting::create_doc_environment(penv, name);
gui::UiXmlReader reader(env);