Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
vczh committed Jul 9, 2023
1 parent 2599509 commit b055346
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Import/GacUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29148,24 +29148,6 @@ GuiSharedSizeItemComposition
if (parentRoot)
{
parentRoot->childItems.Add(this);
Size minSize;
if (sharedWidth)
{
vint index = parentRoot->itemWidths.Keys().IndexOf(group);
if (index != -1)
{
minSize.x = parentRoot->itemWidths.Values()[index];
}
}
if (sharedHeight)
{
vint index = parentRoot->itemHeights.Keys().IndexOf(group);
if (index != -1)
{
minSize.y = parentRoot->itemHeights.Values()[index];
}
}
SetPreferredMinSize(minSize);
}
}

Expand Down

0 comments on commit b055346

Please sign in to comment.