Merge branch 'main' into hover-system
Some checks are pending
Rust Checks / checks (push) Waiting to run
Rust Checks / checks (pull_request) Successful in 2m36s

This commit is contained in:
CoCo_Sol 2024-03-31 23:56:04 +02:00
commit 24963c6b78

View file

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