Use crates.io release of winit 🎉

This commit is contained in:
Héctor Ramón Jiménez 2025-12-05 22:40:58 +01:00
parent b11ad9ff5e
commit 8d7aac96d7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 11 additions and 143 deletions

View file

@ -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,