Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interface for better controlling single-child containers #869

Merged
merged 9 commits into from
Jun 30, 2017

Conversation

huoyaoyuan
Copy link
Contributor

No description provided.


/// <summary>
/// Clear all of <see cref="InternalChildren"/>.

This comment was marked as off-topic.

@@ -180,7 +189,7 @@ public IEnumerable<Drawable> InternalChildrenEnumerable
{
set
{
Clear();
ClearInternal();

This comment was marked as off-topic.

@@ -160,6 +160,15 @@ public IEnumerable<T> ChildrenEnumerable
}
}

public T Child

This comment was marked as off-topic.

Content.Remove(drawable);
return;
}
else RemoveInternal(drawable);

This comment was marked as off-topic.

Content.Clear(disposeChildren);
return;
}
else ClearInternal(disposeChildren);

This comment was marked as off-topic.

@Tom94 Tom94 changed the title Some enhancement of Container Add interface for better controlling single-child containers Jun 30, 2017
@Tom94 Tom94 merged commit 423f252 into ppy:master Jun 30, 2017
@huoyaoyuan huoyaoyuan deleted the container branch June 30, 2017 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants