sad
Some checks failed
Rust Checks / checks (push) Failing after 2m39s
Rust Checks / checks (pull_request) Failing after 2m12s

This commit is contained in:
raphael 2024-03-31 18:25:27 +02:00
parent d2698a9497
commit b84f076a49

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) = (