re-add boxes to parents every frame
This commit is contained in:
parent
fbf7882db2
commit
87d54b2ea6
@ -875,8 +875,6 @@ void UI_EndFrame(UI_Frame *frame)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Update parent */
|
/* Update parent */
|
||||||
if (box->parent != parent)
|
|
||||||
{
|
|
||||||
if (box->parent)
|
if (box->parent)
|
||||||
{
|
{
|
||||||
/* Remove from old parent */
|
/* Remove from old parent */
|
||||||
@ -890,7 +888,6 @@ void UI_EndFrame(UI_Frame *frame)
|
|||||||
++parent->count;
|
++parent->count;
|
||||||
}
|
}
|
||||||
box->parent = parent;
|
box->parent = parent;
|
||||||
}
|
|
||||||
|
|
||||||
/* Update box */
|
/* Update box */
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user