Update the logic to calculate the screen scale on Android

Takes into account the ratio between the screen size and the default window dimensions.
This commit is contained in:
Fredia Huya-Kouadio 2023-01-21 22:04:44 -08:00
parent eaf306e0b1
commit da3e380240
4 changed files with 16 additions and 4 deletions

View file

@ -150,7 +150,6 @@ public class GodotIO {
} else {
selectedScaledDensity = 0.75f;
}
Log.d(TAG, "Selected scaled density: " + selectedScaledDensity);
return selectedScaledDensity;
}