Change inequality to equality for the responsive scaling #92

Merged
CoCo_Sol merged 1 commit from fix-responsive-scaling into main 2024-03-31 21:46:05 +00:00
Showing only changes of commit 989b2b2d3c - Show all commits

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