зеркало из https://github.com/mozilla/gecko-dev.git
Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats
This commit is contained in:
Родитель
d43f476473
Коммит
d9f266d413
|
@ -28,7 +28,7 @@
|
|||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
float APZCTreeManager::sDPI = 72.0;
|
||||
float APZCTreeManager::sDPI = 160.0;
|
||||
|
||||
APZCTreeManager::APZCTreeManager()
|
||||
: mTreeLock("APZCTreeLock"),
|
||||
|
|
|
@ -140,7 +140,7 @@ static bool gTouchActionPropertyEnabled = false;
|
|||
* accidentally processing taps as touch moves, and from very short/accidental
|
||||
* touches moving the screen.
|
||||
*/
|
||||
static float gTouchStartTolerance = 1.0f/2.0f;
|
||||
static float gTouchStartTolerance = 1.0f/4.5f;
|
||||
|
||||
/**
|
||||
* Default touch behavior (is used when not touch behavior is set).
|
||||
|
|
Загрузка…
Ссылка в новой задаче