refresh root document indices on GUI::add

This commit is contained in:
MihailRis
2025-08-15 07:45:16 +03:00
parent 47939c0527
commit 140841f65c
+1
View File
@@ -302,6 +302,7 @@ bool GUI::isFocusCaught() const {
}
void GUI::add(std::shared_ptr<UINode> node) {
UINode::getIndices(node, rootDocument->getMapWriteable());
container->add(std::move(node));
}