mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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:
parent
eaf306e0b1
commit
da3e380240
4 changed files with 16 additions and 4 deletions
|
|
@ -150,7 +150,6 @@ public class GodotIO {
|
|||
} else {
|
||||
selectedScaledDensity = 0.75f;
|
||||
}
|
||||
Log.d(TAG, "Selected scaled density: " + selectedScaledDensity);
|
||||
return selectedScaledDensity;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue