save
All checks were successful
Rust Checks / checks (pull_request) Successful in 3m7s
Rust Checks / checks (push) Successful in 2m41s

This commit is contained in:
CoCo_Sol 2024-03-31 22:54:43 +02:00
parent ceca7d3681
commit 989b2b2d3c

View file

@ -29,7 +29,7 @@ pub fn change_scaling(
size: Res<UILayoutSize>,
) {
let window = windows.get_single().expect("Main window not found");
if window.resolution.physical_height() <= 0 {
if window.resolution.physical_height() == 0 {
return;
};
let (a, b) = (