Add file events to iced_native:🪟:Event

This commit is contained in:
Héctor Ramón Jiménez 2020-01-16 07:12:59 +01:00
parent 5de404ddd9
commit f73bacb454
6 changed files with 29 additions and 8 deletions

View file

@ -192,9 +192,10 @@ pub trait Application: Sized {
);
debug.event_processing_started();
events.iter().for_each(|event| {
subscription_pool.broadcast_event(*event)
});
events
.iter()
.cloned()
.for_each(|event| subscription_pool.broadcast_event(event));
let mut messages = user_interface.update(
&renderer,