diff --git a/core/src/overlay/group.rs b/core/src/overlay/group.rs index 2e199441..a0afe3be 100644 --- a/core/src/overlay/group.rs +++ b/core/src/overlay/group.rs @@ -39,15 +39,6 @@ where Group { children } } - /// Adds an [`overlay::Element`] to the [`Group`]. - pub fn push( - mut self, - child: impl Into>, - ) -> Self { - self.children.push(child.into()); - self - } - /// Turns the [`Group`] into an overlay [`overlay::Element`]. pub fn overlay(self) -> overlay::Element<'a, Message, Theme, Renderer> { overlay::Element::new(Box::new(self))