fix: rectangle tracker missing methods
This commit is contained in:
parent
cda781cb96
commit
283aa2abd0
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue