Add viewport to Widget::on_event
This commit is contained in:
parent
e462f48a5a
commit
42c423b4a8
30 changed files with 77 additions and 5 deletions
|
|
@ -159,6 +159,7 @@ where
|
|||
renderer: &Renderer,
|
||||
clipboard: &mut dyn Clipboard,
|
||||
shell: &mut Shell<'_, Message>,
|
||||
viewport: &Rectangle,
|
||||
) -> event::Status {
|
||||
self.children
|
||||
.iter_mut()
|
||||
|
|
@ -173,6 +174,7 @@ where
|
|||
renderer,
|
||||
clipboard,
|
||||
shell,
|
||||
viewport,
|
||||
)
|
||||
})
|
||||
.fold(event::Status::Ignored, event::Status::merge)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue