From 00c6df69b3228a85b71f04b98dd633f173d1eb69 Mon Sep 17 00:00:00 2001 From: frederik-uni <147479464+frederik-uni@users.noreply.github.com> Date: Wed, 2 Oct 2024 19:04:57 +0200 Subject: [PATCH] wrong branch I don't know how that got here --- crates/egui-winit/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/egui-winit/src/lib.rs b/crates/egui-winit/src/lib.rs index 7b4040b40c5..2f603ea0189 100644 --- a/crates/egui-winit/src/lib.rs +++ b/crates/egui-winit/src/lib.rs @@ -38,9 +38,6 @@ use winit::{ }; pub fn screen_size_in_pixels(window: &Window) -> egui::Vec2 { - #[cfg(target_os = "ios")] - let size = window.outer_size(); - #[cfg(not(target_os = "ios"))] let size = window.inner_size(); egui::vec2(size.width as f32, size.height as f32) }