Browse Source
return (0,0) as size for text selector layer on MeasureOverride (#16373)
pull/16393/head
Emmanuel Hansen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Primitives/TextSelectorLayer.cs
|
|
|
@ -27,7 +27,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
{ |
|
|
|
foreach (Control child in Children) |
|
|
|
child.Measure(availableSize); |
|
|
|
return availableSize; |
|
|
|
return default; |
|
|
|
} |
|
|
|
|
|
|
|
protected override Size ArrangeOverride(Size finalSize) |
|
|
|
|