Android UI overlay touch handling

This commit is contained in:
saschawillems 2017-11-02 17:07:07 +01:00
parent 97975a314d
commit 5795a77e7b
3 changed files with 45 additions and 15 deletions

View file

@ -29,13 +29,13 @@ namespace vks
#if defined(__ANDROID__)
if (vks::android::screenDensity >= ACONFIGURATION_DENSITY_XXHIGH) {
scale = 3.0f;
scale = 3.5f;
}
else if (vks::android::screenDensity >= ACONFIGURATION_DENSITY_XHIGH) {
scale = 2.25f;
scale = 2.5f;
}
else if (vks::android::screenDensity >= ACONFIGURATION_DENSITY_HIGH) {
scale = 1.875f;
scale = 2.0f;
};
#endif