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

@ -172,7 +172,7 @@ where
layout
};
self.body.on_event(
let _ = self.body.on_event(
event,
body_layout,
cursor_position,

View file

@ -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,