metrics: fix ios scale proportion compared to android/desktop

This commit is contained in:
Mathieu Virbel 2012-11-02 20:39:20 +01:00
parent 42fb4c69c5
commit 5776d9e017
1 changed files with 2 additions and 1 deletions

View File

@ -193,8 +193,9 @@ class Metrics(object):
Hardware = jnius.autoclass('org.renpy.android.Hardware')
return Hardware.metrics.scaledDensity
elif platform() == 'ios':
# 0.75 is for mapping the same density as android tablet
import ios
return ios.get_scale()
return ios.get_scale() * 0.75
return 1.0