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 ContainerLayer::remove_all_children method #69

Merged
merged 1 commit into from Jun 4, 2014
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add ContainerLayer::remove_all_children method

  • Loading branch information
mbrubeck committed Jun 4, 2014
commit 261bef5849b817df2288f2f7dac5fe8f255a04ab
@@ -202,6 +202,11 @@ impl ContainerLayer {
}
});
}

pub fn remove_all_children(&self) {
*self.first_child.borrow_mut() = None;
*self.last_child.borrow_mut() = None;
}
}

/// Whether a texture should be flipped.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.