mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
e9f17160f3
commit
8335f48fa8
@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user