Merge pull request #755 from bykoianko/master-remove-visual-scale-correction-for-tablets

Master. Remove visual scale correction for tablets.
This commit is contained in:
Alex Zolotarev 2015-11-28 14:31:46 +03:00
commit 9751b4c65b

View file

@ -82,10 +82,6 @@ namespace graphics
double visualScaleExact(int exactDensityDPI)
{
double const mdpiDensityDPI = 160.;
double const tabletFactor = 1.28;
// In case of tablets and iPads increased DPI is used to make visual scale bigger.
if (GetPlatform().IsTablet())
exactDensityDPI *= tabletFactor;
// For some old devices (for example iPad 2) the density could be less than 160 DPI.
// Returns one in that case to keep readable text on the map.