Make Widget::on_event return an event::Status
This commit is contained in:
parent
1db11ba69a
commit
3f968b8c87
20 changed files with 136 additions and 70 deletions
|
|
@ -172,7 +172,7 @@ where
|
|||
layout
|
||||
};
|
||||
|
||||
self.body.on_event(
|
||||
let _ = self.body.on_event(
|
||||
event,
|
||||
body_layout,
|
||||
cursor_position,
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ where
|
|||
let _ = children.next();
|
||||
let controls_layout = children.next().unwrap();
|
||||
|
||||
controls.on_event(
|
||||
let _ = controls.on_event(
|
||||
event,
|
||||
controls_layout,
|
||||
cursor_position,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue