summaryrefslogtreecommitdiffstats
path: root/native/src/widget/row.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-12-22 14:29:24 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-12-22 14:29:24 +0100
commit0e9c1ab192279d1a3a88815080e043f434aa380e (patch)
tree4882e3c00a6227f4a27882b42fc07a07c430d2c2 /native/src/widget/row.rs
parent678de1187994f29e3701740617bb5b1963f80c69 (diff)
downloadiced-0e9c1ab192279d1a3a88815080e043f434aa380e.tar.gz
iced-0e9c1ab192279d1a3a88815080e043f434aa380e.tar.bz2
iced-0e9c1ab192279d1a3a88815080e043f434aa380e.zip
Add `Renderer` argument to `operate`
Diffstat (limited to 'native/src/widget/row.rs')
-rw-r--r--native/src/widget/row.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs
index c689ac13..108e98e4 100644
--- a/native/src/widget/row.rs
+++ b/native/src/widget/row.rs
@@ -134,6 +134,7 @@ where
&self,
tree: &mut Tree,
layout: Layout<'_>,
+ renderer: &Renderer,
operation: &mut dyn Operation<Message>,
) {
operation.container(None, &mut |operation| {
@@ -142,7 +143,9 @@ where
.zip(&mut tree.children)
.zip(layout.children())
.for_each(|((child, state), layout)| {
- child.as_widget().operate(state, layout, operation);
+ child
+ .as_widget()
+ .operate(state, layout, renderer, operation);
})
});
}