Bug 593787: Long click on any Bookmark in Bookmark Manager doesn't always popup context menu [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2010-09-09 11:07:16 +02:00
parent 35f222abdc
commit aee93c7208
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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;