pub fn update_ui_size_and_scale_system(
contexts: Query<'_, '_, UpdateUiSizeAndScaleQuery>,
images: Res<'_, Assets<Image>>,
)
Expand description
Updates UI egui::RawInput::screen_rect
and calls egui::Context::set_pixels_per_point
.
pub fn update_ui_size_and_scale_system(
contexts: Query<'_, '_, UpdateUiSizeAndScaleQuery>,
images: Res<'_, Assets<Image>>,
)
Updates UI egui::RawInput::screen_rect
and calls egui::Context::set_pixels_per_point
.