Use crates.io release of winit 🎉
This commit is contained in:
parent
b11ad9ff5e
commit
8d7aac96d7
9 changed files with 11 additions and 143 deletions
|
|
@ -248,23 +248,6 @@ where
|
|||
);
|
||||
}
|
||||
|
||||
fn received_url(
|
||||
&mut self,
|
||||
event_loop: &winit::event_loop::ActiveEventLoop,
|
||||
url: String,
|
||||
) {
|
||||
self.process_event(
|
||||
event_loop,
|
||||
Event::EventLoopAwakened(
|
||||
winit::event::Event::PlatformSpecific(
|
||||
winit::event::PlatformSpecific::MacOS(
|
||||
winit::event::MacOS::ReceivedUrl(url),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
fn about_to_wait(
|
||||
&mut self,
|
||||
event_loop: &winit::event_loop::ActiveEventLoop,
|
||||
|
|
@ -761,19 +744,6 @@ async fn run_instance<P>(
|
|||
);
|
||||
}
|
||||
}
|
||||
event::Event::PlatformSpecific(
|
||||
event::PlatformSpecific::MacOS(
|
||||
event::MacOS::ReceivedUrl(url),
|
||||
),
|
||||
) => {
|
||||
runtime.broadcast(
|
||||
subscription::Event::PlatformSpecific(
|
||||
subscription::PlatformSpecific::MacOS(
|
||||
subscription::MacOS::ReceivedUrl(url),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
event::Event::UserEvent(action) => {
|
||||
run_action(
|
||||
action,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue