diff --git a/crates/border-wars/src/lib.rs b/crates/border-wars/src/lib.rs index b462412..f6e9173 100644 --- a/crates/border-wars/src/lib.rs +++ b/crates/border-wars/src/lib.rs @@ -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, window: Query<&Window>) { let window = window.single(); let (a, b) = (