Remove unnecessary check

This commit is contained in:
Jack251970 2025-09-15 18:46:47 +08:00
parent 44ca9c3480
commit f3cb85ea59

View file

@ -519,9 +519,6 @@ namespace Flow.Launcher.Core.Plugin
{
if (child is FrameworkElement element && Grid.GetColumn(element) == 0 && Grid.GetColumnSpan(element) == 1)
{
if (element.MaxWidth < constrainedWidth)
continue;
element.MaxWidth = constrainedWidth;
}
}