diff options
author | 2020-11-12 01:29:11 +0100 | |
---|---|---|
committer | 2020-11-12 01:29:11 +0100 | |
commit | 6e9bd0d9d1dc9a98645d427d62b8413273dc6efd (patch) | |
tree | a7a635629295335161babffa6f1e26e3e9c26f69 /native/src/overlay/menu.rs | |
parent | 3aca1771329cf7845cbc6c98e536cfb6c0e7c3ff (diff) | |
download | iced-6e9bd0d9d1dc9a98645d427d62b8413273dc6efd.tar.gz iced-6e9bd0d9d1dc9a98645d427d62b8413273dc6efd.tar.bz2 iced-6e9bd0d9d1dc9a98645d427d62b8413273dc6efd.zip |
Make `Overlay::on_event` return `event::Status`
Diffstat (limited to 'native/src/overlay/menu.rs')
-rw-r--r-- | native/src/overlay/menu.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/overlay/menu.rs b/native/src/overlay/menu.rs index 3577629b..d99b5940 100644 --- a/native/src/overlay/menu.rs +++ b/native/src/overlay/menu.rs @@ -241,15 +241,15 @@ where messages: &mut Vec<Message>, renderer: &Renderer, clipboard: Option<&dyn Clipboard>, - ) { - let _ = self.container.on_event( + ) -> event::Status { + self.container.on_event( event.clone(), layout, cursor_position, messages, renderer, clipboard, - ); + ) } fn draw( |