Adding more precision to the function docstring
All checks were successful
Rust Checks / checks (push) Successful in 4m25s
Rust Checks / checks (pull_request) Successful in 2m28s

This commit is contained in:
Raphaël 2024-03-03 09:57:24 +00:00
parent 0775704b8e
commit f0671e12e2

View file

@ -21,6 +21,7 @@ pub enum CurrentScene {
}
/// Calculates the ui_scale.0 depending on the size of the main node
/// in order to make the screen responsive
pub fn change_scaling(mut ui_scale: ResMut<UiScale>, window: Query<&Window>) {
let window = window.single();
let (a, b) = (