fixes
This commit is contained in:
parent
e4dda0861c
commit
83b45a0dea
9 changed files with 251 additions and 7 deletions
|
|
@ -184,7 +184,7 @@ void RenderElement(UiElementBufferBuffer* element, WindowWayland* window) {
|
|||
}
|
||||
std::sort(element->children.begin(), element->children.end(), [](UiElement* a, UiElement* b){ return a->transform.z < b->transform.z; });
|
||||
for(UiElement* child : element->children) {
|
||||
RenderElement(element, window);
|
||||
RenderElement(static_cast<UiElementBufferBuffer*>(child), window);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue