mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
refresh root document indices on GUI::add
This commit is contained in:
parent
47939c0527
commit
140841f65c
1 changed files with 1 additions and 0 deletions
|
|
@ -302,6 +302,7 @@ bool GUI::isFocusCaught() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI::add(std::shared_ptr<UINode> node) {
|
void GUI::add(std::shared_ptr<UINode> node) {
|
||||||
|
UINode::getIndices(node, rootDocument->getMapWriteable());
|
||||||
container->add(std::move(node));
|
container->add(std::move(node));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue