mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
minor refactor + Block.uiLayout
This commit is contained in:
parent
af7c828d73
commit
38f9805ca7
16 changed files with 48 additions and 38 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include <charconv>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "panels.h"
|
||||
#include "containers.h"
|
||||
#include "controls.h"
|
||||
|
||||
#include "../../assets/AssetsLoader.h"
|
||||
|
|
@ -173,7 +173,7 @@ static std::shared_ptr<UINode> readTextBox(UiXmlReader& reader, xml::xmlelement
|
|||
element->attr("consumer").getText(),
|
||||
reader.getFilename()+".lua"
|
||||
);
|
||||
textbox->textConsumer(consumer);
|
||||
textbox->setTextConsumer(consumer);
|
||||
}
|
||||
return textbox;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue