This commit is contained in:
vczh
2023-07-08 23:42:36 -07:00
parent 2599509e74
commit b055346a9d
-18
View File
@@ -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);
}
}