We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32980a commit dfc8f4dCopy full SHA for dfc8f4d
src/Core/src/Platform/Windows/ContentPanel.cs
@@ -59,7 +59,7 @@ internal FrameworkElement? Content
59
60
_borderPath?.Arrange(new global::Windows.Foundation.Rect(0, 0, finalSize.Width, finalSize.Height));
61
62
- return new global::Windows.Foundation.Size(actual.Width, actual.Height);
+ return new global::Windows.Foundation.Size(Math.Max(0, actual.Width), Math.Max(0, actual.Height));
63
}
64
65
public ContentPanel()
0 commit comments