Implement Widget::draw for Container
This commit is contained in:
parent
f8895a42b0
commit
7c4738735b
1 changed files with 7 additions and 1 deletions
|
|
@ -180,7 +180,13 @@ where
|
||||||
cursor_position: Point,
|
cursor_position: Point,
|
||||||
viewport: &Rectangle,
|
viewport: &Rectangle,
|
||||||
) {
|
) {
|
||||||
// TODO
|
self.content.draw(
|
||||||
|
renderer,
|
||||||
|
defaults,
|
||||||
|
layout.children().next().unwrap(),
|
||||||
|
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