This commit is contained in:
dessant 2015-09-23 03:33:06 +03:00
parent c66d8b5893
commit 75aa581e4b
1 changed files with 1 additions and 2 deletions

View File

@ -225,10 +225,9 @@ class MetricsBase(object):
from jnius import autoclass
if USE_SDL2:
PythonActivity = autoclass('org.kivy.android.PythonActivity')
config = PythonActivity.mActivity.getResources().getConfiguration()
else:
PythonActivity = autoclass('org.renpy.android.PythonActivity')
config = PythonActivity.mActivity.getResources().getConfiguration()
config = PythonActivity.mActivity.getResources().getConfiguration()
return config.fontScale
return 1.0