diff --git a/Perspex.SceneGraph/Visual.cs b/Perspex.SceneGraph/Visual.cs index 1ceeb78e59..9ce14cd158 100644 --- a/Perspex.SceneGraph/Visual.cs +++ b/Perspex.SceneGraph/Visual.cs @@ -153,12 +153,7 @@ namespace Perspex protected void ClearVisualChildren() { - // TODO: Just call visualChildren.Clear() when we have a PerspexList that notifies of - // the removed items. - while (this.visualChildren.Count > 0) - { - this.visualChildren.RemoveAt(this.visualChildren.Count - 1); - } + this.visualChildren.Clear(); } protected void RemoveVisualChild(Visual visual)