Mark UIElement as dirty in SetParent.
This commit is contained in:
@@ -53,6 +53,7 @@ public abstract class UIElement : IElement, IRenderableElement, IResizeableEleme
|
|||||||
public void SetParent(UIElement parent)
|
public void SetParent(UIElement parent)
|
||||||
{
|
{
|
||||||
_parent = parent;
|
_parent = parent;
|
||||||
|
MarkDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update()
|
public void Update()
|
||||||
|
|||||||
Reference in New Issue
Block a user