Instead of `LogicalParent` - they're the same but `Parent` is used below - this clarifies that it's the same property to those unfamiliar with the codebase.
@@ -277,7 +277,7 @@ namespace Avalonia.Controls.Presenters
Child = newChild;
- if (oldChild?.LogicalParent == this)
+ if (oldChild?.Parent == this)
{
LogicalChildren.Remove(oldChild);
}