Skip to content

Commit

Permalink
Fix grid container layout
Browse files Browse the repository at this point in the history
This decrements index and cooks the layout if controls are invisible.
  • Loading branch information
metalgearsloth committed Nov 29, 2024
1 parent 3086fc4 commit 1690d19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Robust.Client/UserInterface/Controls/GridContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ protected override Vector2 MeasureOverride(Vector2 availableSize)
{
if (!child.Visible)
{
index--;
continue;
}

Expand Down

0 comments on commit 1690d19

Please sign in to comment.