mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'onfocus' ui event & optimize container:add
This commit is contained in:
parent
8e8cabf2d1
commit
1e90115a26
9 changed files with 31 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ std::shared_ptr<gui::UINode> guiutil::create(
|
|||
if (env == nullptr) {
|
||||
env = scripting::get_root_environment();
|
||||
}
|
||||
UiXmlReader reader(gui, env);
|
||||
UiXmlReader reader(gui, std::move(env));
|
||||
return reader.readXML("[string]", source);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue