mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Fix iOS compilation of eframe (#4851)
Fixed changed the name of function `WinitApp::get_window_winit_id` to `WinitApp::window_id_from_viewport_id` and missed `egui::ViewportId` import.
This commit is contained in:
@@ -177,7 +177,7 @@ impl<T: WinitApp> WinitAppWrapper<T> {
|
|||||||
// WaitUntil seems to not work on iOS
|
// WaitUntil seems to not work on iOS
|
||||||
#[cfg(target_os = "ios")]
|
#[cfg(target_os = "ios")]
|
||||||
winit_app
|
winit_app
|
||||||
.get_window_winit_id(ViewportId::ROOT)
|
.window_id_from_viewport_id(egui::ViewportId::ROOT)
|
||||||
.map(|window_id| {
|
.map(|window_id| {
|
||||||
winit_app
|
winit_app
|
||||||
.window(window_id)
|
.window(window_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user