Use less aggressive touch device scale on small devices.

After some tests both 4.3" phone and 6.4" phone return the same screen size, so we can't really base that much on it.
This commit is contained in:
Deve 2018-10-17 21:11:39 +02:00
parent 22f1111dbe
commit d9abe219ef
2 changed files with 4 additions and 4 deletions

View File

@ -55,10 +55,10 @@ void override_default_params()
{
case ACONFIGURATION_SCREENSIZE_SMALL:
case ACONFIGURATION_SCREENSIZE_NORMAL:
UserConfigParams::m_multitouch_scale = 1.4f;
UserConfigParams::m_multitouch_scale = 1.3f;
break;
case ACONFIGURATION_SCREENSIZE_LARGE:
UserConfigParams::m_multitouch_scale = 1.3f;
UserConfigParams::m_multitouch_scale = 1.2f;
break;
case ACONFIGURATION_SCREENSIZE_XLARGE:
UserConfigParams::m_multitouch_scale = 1.1f;

View File

@ -139,10 +139,10 @@ GUIEngine::EventPropagation MultitouchSettingsDialog::processEvent(
{
case ACONFIGURATION_SCREENSIZE_SMALL:
case ACONFIGURATION_SCREENSIZE_NORMAL:
UserConfigParams::m_multitouch_scale = 1.4f;
UserConfigParams::m_multitouch_scale = 1.3f;
break;
case ACONFIGURATION_SCREENSIZE_LARGE:
UserConfigParams::m_multitouch_scale = 1.3f;
UserConfigParams::m_multitouch_scale = 1.2f;
break;
case ACONFIGURATION_SCREENSIZE_XLARGE:
UserConfigParams::m_multitouch_scale = 1.1f;