re-add boxes to parents every frame

This commit is contained in:
jacob 2025-12-19 16:00:01 -06:00
parent fbf7882db2
commit 87d54b2ea6

View File

@ -875,8 +875,6 @@ void UI_EndFrame(UI_Frame *frame)
}
/* Update parent */
if (box->parent != parent)
{
if (box->parent)
{
/* Remove from old parent */
@ -890,7 +888,6 @@ void UI_EndFrame(UI_Frame *frame)
++parent->count;
}
box->parent = parent;
}
/* Update box */
{