зеркало из https://github.com/mozilla/pjs.git
Bug 593787: Long click on any Bookmark in Bookmark Manager doesn't always popup context menu [r=mfinkle]
This commit is contained in:
Родитель
96b7323c06
Коммит
12a7de3482
|
@ -483,3 +483,7 @@ pref("network.buffer.cache.size", 16384);
|
|||
pref("services.sync.client.type", "mobile");
|
||||
pref("services.sync.registerEngines", "Tab,Bookmarks,Form,History,Password");
|
||||
pref("services.sync.autoconnectDelay", 5);
|
||||
|
||||
// Drag thresholds
|
||||
pref("ui.dragThresholdX", 25);
|
||||
pref("ui.dragThresholdY", 25);
|
||||
|
|
|
@ -50,7 +50,7 @@ const kDoubleClickInterval = 400;
|
|||
const kDoubleClickThreshold = 200;
|
||||
|
||||
// threshold in pixels for sensing a tap as opposed to a pan
|
||||
const kTapRadius = 25;
|
||||
const kTapRadius = Services.prefs.getIntPref("ui.dragThresholdX");
|
||||
|
||||
// maximum drag distance in pixels while axis locking can still be reverted
|
||||
const kAxisLockRevertThreshold = 200;
|
||||
|
|
Загрузка…
Ссылка в новой задаче