fix: root node id overriding

This commit is contained in:
MihailRis
2025-11-23 19:37:44 +03:00
parent 17e8d9bb1b
commit 91cb5ab7d8
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -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));
}