summaryrefslogtreecommitdiffstats
path: root/lazy
diff options
context:
space:
mode:
Diffstat (limited to 'lazy')
-rw-r--r--lazy/src/component.rs2
-rw-r--r--lazy/src/lazy.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs
index 3d7b8758..ad15d69d 100644
--- a/lazy/src/component.rs
+++ b/lazy/src/component.rs
@@ -234,6 +234,7 @@ where
&self,
tree: &mut Tree,
layout: Layout<'_>,
+ renderer: &Renderer,
operation: &mut dyn widget::Operation<Message>,
) {
struct MapOperation<'a, B> {
@@ -274,6 +275,7 @@ where
element.as_widget().operate(
&mut tree.children[0],
layout,
+ renderer,
&mut MapOperation { operation },
);
});
diff --git a/lazy/src/lazy.rs b/lazy/src/lazy.rs
index 2611dd10..ec35e8f0 100644
--- a/lazy/src/lazy.rs
+++ b/lazy/src/lazy.rs
@@ -130,12 +130,14 @@ where
&self,
tree: &mut Tree,
layout: Layout<'_>,
+ renderer: &Renderer,
operation: &mut dyn widget::Operation<Message>,
) {
self.with_element(|element| {
element.as_widget().operate(
&mut tree.children[0],
layout,
+ renderer,
operation,
);
});