summaryrefslogtreecommitdiffstats
path: root/core/src/element.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/element.rs')
-rw-r--r--core/src/element.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/element.rs b/core/src/element.rs
index d2c6358b..0d23a9e7 100644
--- a/core/src/element.rs
+++ b/core/src/element.rs
@@ -306,10 +306,11 @@ where
fn layout(
&self,
+ tree: &Tree,
renderer: &Renderer,
limits: &layout::Limits,
) -> layout::Node {
- self.widget.layout(renderer, limits)
+ self.widget.layout(tree, renderer, limits)
}
fn operate(
@@ -491,10 +492,11 @@ where
fn layout(
&self,
+ tree: &Tree,
renderer: &Renderer,
limits: &layout::Limits,
) -> layout::Node {
- self.element.widget.layout(renderer, limits)
+ self.element.widget.layout(tree, renderer, limits)
}
fn operate(