Use winit and glutin forks in iced-rs org

This commit is contained in:
Richard 2021-06-14 17:21:55 -03:00 committed by Héctor Ramón Jiménez
parent 96a462d2f2
commit 612585109f
No known key found for this signature in database
GPG key ID: 44B88EB52AB1EE8D
5 changed files with 25 additions and 10 deletions

View file

@ -237,9 +237,15 @@ async fn run_instance<A, E, C>(
context.window().request_redraw();
}
event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))) => {
event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(
event::MacOS::ReceivedUrl(url),
)) => {
use iced_native::event;
events.push(iced_native::Event::PlatformSpecific(event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(url))));
events.push(iced_native::Event::PlatformSpecific(
event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(
url,
)),
));
}
event::Event::UserEvent(message) => {
messages.push(message);