Fixed tests

This commit is contained in:
Tig
2024-06-08 13:14:52 -06:00
parent 9abfb1ae46
commit b2129fff3e

View File

@@ -65,7 +65,7 @@ public class DimAuto () : Dim
var subviewsSize = 0;
int autoMin = MinimumContentDim?.GetAnchor (superviewContentSize) ?? 0;
int autoMax = MaximumContentDim?.GetAnchor (superviewContentSize) ?? superviewContentSize;
int autoMax = MaximumContentDim?.GetAnchor (superviewContentSize) ?? int.MaxValue;
if (Style.FastHasFlags (DimAutoStyle.Text))
{