Browse Source
Merge pull request #5589 from YohDeadfall/no-size-reconstruction
Return desired size as is without recreating it
pull/5597/head
Nikita Tsukanov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
|