Browse Source
Fix copypasta.
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/8122/head
Steven Kirk
4 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.Controls/Viewbox.cs
|
|
|
@ -95,7 +95,7 @@ namespace Avalonia.Controls |
|
|
|
LogicalChildren.Remove(oldChild); |
|
|
|
} |
|
|
|
|
|
|
|
_containerVisual.Child = change.GetNewValue<IControl>(); |
|
|
|
_containerVisual.Child = newChild; |
|
|
|
|
|
|
|
if (newChild is not null) |
|
|
|
{ |
|
|
|
|