Skip to content

Commit

Permalink
Another small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Oct 23, 2023
1 parent c2bc0db commit cd33a0a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/Myra/Graphics2D/UI/Widget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,11 +1135,6 @@ public Point Measure(Point availableSize)
return result;
}

protected virtual Point InternalMeasure(Point availableSize)
{
return Mathematics.PointZero;
}

public void Arrange(Rectangle containerBounds)
{
if (!_arrangeDirty && _containerBounds == containerBounds)
Expand Down Expand Up @@ -1207,10 +1202,11 @@ public void UpdateArrange()

protected virtual void InternalArrange()
{
foreach(var widget in ChildrenCopy)
{
widget.Arrange(ActualBounds);
}
}

protected virtual Point InternalMeasure(Point availableSize)
{
return Mathematics.PointZero;
}


Expand Down

0 comments on commit cd33a0a

Please sign in to comment.