зеркало из https://github.com/mozilla/pjs.git
Bug 640500 - Long tap on a website from Awesomelist doesn't open the context menu [r=mfinkle,mbrubeck,a=approval2.0+]
This commit is contained in:
Родитель
a4c775e6a6
Коммит
d14783c1cf
|
@ -566,7 +566,9 @@ pref("services.sync.prefs.sync.signon.rememberSignons", true);
|
|||
#endif
|
||||
|
||||
// threshold where a tap becomes a drag, in 1/240" reference pixels
|
||||
pref("ui.dragThreshold", 24);
|
||||
// The names of the preferences are to be in sync with nsEventStateManager.cpp
|
||||
pref("ui.dragThresholdX", 25);
|
||||
pref("ui.dragThresholdY", 25);
|
||||
|
||||
#if MOZ_PLATFORM_MAEMO == 6
|
||||
pref("layers.acceleration.disabled", false);
|
||||
|
|
|
@ -540,7 +540,7 @@ var ScrollUtils = {
|
|||
let dpi = Util.getWindowUtils(window).displayDPI;
|
||||
|
||||
delete this.tapRadius;
|
||||
return this.tapRadius = Services.prefs.getIntPref("ui.dragThreshold") / 240 * dpi;
|
||||
return this.tapRadius = Services.prefs.getIntPref("ui.dragThresholdX") / 240 * dpi;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче