Skip to content

Commit

Permalink
wrong branch
Browse files Browse the repository at this point in the history
I don't know how that got here
  • Loading branch information
frederik-uni authored Oct 2, 2024
1 parent 1220df7 commit 00c6df6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/egui-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 00c6df6

Please sign in to comment.