generated from tipragot/rust
Renaming WindowSize #77
|
@ -22,7 +22,7 @@ pub fn init_window_size(mut command: Commands) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculates the ui_scale.0 depending on the [UILayoutSize]
|
/// Calculates the ui_scale.0 depending on the [UILayoutSize]
|
||||||
/// in order to make the screen responsive.
|
/// in order to make the ui layout responsive.
|
||||||
pub fn change_scaling(
|
pub fn change_scaling(
|
||||||
mut ui_scale: ResMut<UiScale>,
|
mut ui_scale: ResMut<UiScale>,
|
||||||
windows: Query<&Window>,
|
windows: Query<&Window>,
|
||||||
|
|
Loading…
Reference in a new issue