Fix Widget::layout implementation of MouseArea
This commit is contained in:
parent
1af5ff41ab
commit
df72fd1095
1 changed files with 3 additions and 1 deletions
|
|
@ -124,7 +124,9 @@ where
|
|||
renderer: &Renderer,
|
||||
limits: &layout::Limits,
|
||||
) -> layout::Node {
|
||||
self.content.as_widget().layout(tree, renderer, limits)
|
||||
self.content
|
||||
.as_widget()
|
||||
.layout(&mut tree.children[0], renderer, limits)
|
||||
}
|
||||
|
||||
fn operate(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue