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,
|
cursor_position: Point,
|
||||||
viewport: &Rectangle,
|
viewport: &Rectangle,
|
||||||
) {
|
) {
|
||||||
// TODO
|
for (child, layout) in self.children.iter().zip(layout.children()) {
|
||||||
// renderer.draw(
|
child.draw(renderer, defaults, layout, cursor_position, viewport);
|
||||||
// defaults,
|
}
|
||||||
// &self.children,
|
|
||||||
// layout,
|
|
||||||
// cursor_position,
|
|
||||||
// viewport,
|
|
||||||
// )
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn hash_layout(&self, state: &mut Hasher) {
|
fn hash_layout(&self, state: &mut Hasher) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue