Update arrangement logic for containers, remove position property from Rect, add Size property to IElement.
This commit is contained in:
@@ -9,6 +9,7 @@ public abstract class Container : IElement, IParentableElement, IUpdatableElemen
|
||||
{
|
||||
public IReadOnlyList<IElement> Children => _children;
|
||||
public Vector2 Position { get; set; }
|
||||
public Rect Size { get; set; } = Rect.Zero;
|
||||
|
||||
public Container()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user