generated from tipragot/rust
Change inequality to equality for the responsive scaling #92
|
@ -29,7 +29,7 @@ pub fn change_scaling(
|
||||||
size: Res<UILayoutSize>,
|
size: Res<UILayoutSize>,
|
||||||
) {
|
) {
|
||||||
let window = windows.get_single().expect("Main window not found");
|
let window = windows.get_single().expect("Main window not found");
|
||||||
if window.resolution.physical_height() <= 0 {
|
if window.resolution.physical_height() == 0 {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
let (a, b) = (
|
let (a, b) = (
|
||||||
|
|
Loading…
Reference in a new issue