Implement Widget::draw for Column

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

View file

@ -170,7 +170,9 @@ where
cursor_position: Point, cursor_position: Point,
viewport: &Rectangle, viewport: &Rectangle,
) { ) {
// TODO 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) { fn hash_layout(&self, state: &mut Hasher) {