Use new enum variant and new winit repo
This commit is contained in:
parent
9ae22b58d8
commit
96a462d2f2
6 changed files with 41 additions and 18 deletions
|
|
@ -310,8 +310,9 @@ async fn run_instance<A, E, C>(
|
|||
|
||||
window.request_redraw();
|
||||
}
|
||||
event::Event::ReceivedUrl(url) => {
|
||||
events.push(iced_native::Event::UrlReceived(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))));
|
||||
}
|
||||
event::Event::UserEvent(message) => {
|
||||
messages.push(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue