egui icon indicating copy to clipboard operation
egui copied to clipboard

remove black bar on iOS fixes #3547

Open frederik-uni opened this issue 1 year ago • 2 comments

winit::Window::inner_size returns size of safe area on iOS. use winit::Window::outer_size on iOS The dimensions of outer_size include the title bar and borders, but as far as I know there is no way to actually display the title bar or borders on iOS so it should be fine.

  • Closes #3547
  • [X] I have followed the instructions in the PR template

frederik-uni avatar Oct 02 '24 15:10 frederik-uni

Preview available at https://egui-pr-preview.github.io/pr/5211-iOS-black-bar Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

github-actions[bot] avatar Oct 02 '24 15:10 github-actions[bot]

@lucasmerlin I updated my safe area implementation so it is actually usable. it could be merged and the get_safe_area_insets could be replaced while upgrading winit in the future

frederik-uni avatar Oct 02 '24 17:10 frederik-uni

@emilk is this alright?

frederik-uni avatar Oct 19 '24 13:10 frederik-uni