mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: root node id overriding
This commit is contained in:
parent
17e8d9bb1b
commit
91cb5ab7d8
4 changed files with 8 additions and 9 deletions
|
|
@ -310,7 +310,7 @@ bool GUI::isFocusCaught() const {
|
|||
}
|
||||
|
||||
void GUI::add(std::shared_ptr<UINode> node) {
|
||||
UINode::getIndices(node, rootDocument->getMapWriteable());
|
||||
rootDocument->pushIndices(node);
|
||||
container->add(std::move(node));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue