mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +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
|
|
@ -23,11 +23,12 @@ void UiDocument::rebuildIndices() {
|
|||
map["root"] = root;
|
||||
}
|
||||
|
||||
const UINodesMap& UiDocument::getMap() const {
|
||||
return map;
|
||||
void UiDocument::pushIndices(const std::shared_ptr<gui::UINode>& node) {
|
||||
gui::UINode::getIndices(node, map);
|
||||
map["root"] = root;
|
||||
}
|
||||
|
||||
UINodesMap& UiDocument::getMapWriteable() {
|
||||
const UINodesMap& UiDocument::getMap() const {
|
||||
return map;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue