Implement Widget::draw for Row

This commit is contained in:
Héctor Ramón Jiménez 2021-10-14 17:05:37 +07:00
parent 1ab2afe72d
commit f8895a42b0
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -169,14 +169,9 @@ where
cursor_position: Point,
viewport: &Rectangle,
) {
// TODO
// renderer.draw(
// defaults,
// &self.children,
// layout,
// cursor_position,
// viewport,
// )
for (child, layout) in self.children.iter().zip(layout.children()) {
child.draw(renderer, defaults, layout, cursor_position, viewport);
}
}
fn hash_layout(&self, state: &mut Hasher) {