Browse Source

PerspexList now notifies of cleared items.

pull/39/head
Steven Kirk 11 years ago
parent
commit
5b77f5412f
  1. 7
      Perspex.SceneGraph/Visual.cs

7
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)

Loading…
Cancel
Save