Remove push method for overlay::Group
This commit is contained in:
parent
6c51a9579d
commit
385cfcddb2
1 changed files with 0 additions and 9 deletions
|
|
@ -39,15 +39,6 @@ where
|
||||||
Group { children }
|
Group { children }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adds an [`overlay::Element`] to the [`Group`].
|
|
||||||
pub fn push(
|
|
||||||
mut self,
|
|
||||||
child: impl Into<overlay::Element<'a, Message, Theme, Renderer>>,
|
|
||||||
) -> Self {
|
|
||||||
self.children.push(child.into());
|
|
||||||
self
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Turns the [`Group`] into an overlay [`overlay::Element`].
|
/// Turns the [`Group`] into an overlay [`overlay::Element`].
|
||||||
pub fn overlay(self) -> overlay::Element<'a, Message, Theme, Renderer> {
|
pub fn overlay(self) -> overlay::Element<'a, Message, Theme, Renderer> {
|
||||||
overlay::Element::new(Box::new(self))
|
overlay::Element::new(Box::new(self))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue