Browse Source

Return desired size as is without recreating it

pull/5589/head
Yoh Deadfall 6 years ago
parent
commit
8f330b0b82
  1. 2
      src/Avalonia.Layout/UniformGridLayout.cs

2
src/Avalonia.Layout/UniformGridLayout.cs

@ -447,7 +447,7 @@ namespace Avalonia.Layout
// and only use the layout when to clear it when it's done.
gridState.EnsureFirstElementOwnership(context);
return new Size(desiredSize.Width, desiredSize.Height);
return desiredSize;
}
protected internal override Size ArrangeOverride(VirtualizingLayoutContext context, Size finalSize)

Loading…
Cancel
Save