From 5ea30d3501e3630af7372c8df5c51ce861ba0a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Sat, 9 Mar 2024 17:42:14 +0100 Subject: [PATCH] ajout de points a la fin des phrases --- crates/border-wars/src/responsive_scale.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/border-wars/src/responsive_scale.rs b/crates/border-wars/src/responsive_scale.rs index be7b882..612f016 100644 --- a/crates/border-wars/src/responsive_scale.rs +++ b/crates/border-wars/src/responsive_scale.rs @@ -12,17 +12,17 @@ impl Plugin for ResponsiveScalingPlugin { } } +/// The default window size. #[derive(Resource)] -/// The default window size pub struct WindowSize(pub Vec2); -/// Initializes the window size +/// Initializes the window size. pub fn init_window_size(mut command: Commands) { command.insert_resource(WindowSize(Vec2::new(1280., 720.))); } /// Calculates the ui_scale.0 depending on the default screen size -/// in order to make the screen responsive +/// in order to make the screen responsive. pub fn change_scaling( mut ui_scale: ResMut, windows: Query<&Window>,