Make Widget::on_event return an event::Status

This commit is contained in:
Héctor Ramón Jiménez 2020-11-12 00:09:52 +01:00
parent 1db11ba69a
commit 3f968b8c87
20 changed files with 136 additions and 70 deletions

View file

@ -242,7 +242,7 @@ where
};
for event in events {
self.root.widget.on_event(
let _ = self.root.widget.on_event(
event.clone(),
Layout::new(&self.base.layout),
base_cursor,