fix: rectangle tracker missing methods

This commit is contained in:
Ashley Wulber 2023-12-05 09:49:50 -05:00 committed by Ashley Wulber
parent cda781cb96
commit 283aa2abd0

View file

@ -93,6 +93,10 @@ where
}
}
pub fn diff(&mut self, tree: &mut Tree) {
self.container.diff(tree);
}
/// Sets the [`Padding`] of the [`Container`].
#[must_use]
pub fn padding<P: Into<Padding>>(mut self, padding: P) -> Self {
@ -183,6 +187,10 @@ where
self.container.children()
}
fn state(&self) -> iced_core::widget::tree::State {
self.container.state()
}
fn diff(&mut self, tree: &mut Tree) {
self.container.diff(tree);
}