Implement Widget::draw for Row
This commit is contained in:
parent
1ab2afe72d
commit
f8895a42b0
1 changed files with 3 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue