Implement Widget::draw for Container

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

View file

@ -180,7 +180,13 @@ where
cursor_position: Point,
viewport: &Rectangle,
) {
// TODO
self.content.draw(
renderer,
defaults,
layout.children().next().unwrap(),
cursor_position,
viewport,
);
}
fn hash_layout(&self, state: &mut Hasher) {