From 5776d9e017f2eb2b9b68dd8a4b6f249e0f26cefa Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 2 Nov 2012 20:39:20 +0100 Subject: [PATCH] metrics: fix ios scale proportion compared to android/desktop --- kivy/metrics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kivy/metrics.py b/kivy/metrics.py index 8699a4b86..b714f8f62 100644 --- a/kivy/metrics.py +++ b/kivy/metrics.py @@ -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