зеркало из https://github.com/mozilla/gecko-dev.git
Revert some incorrect changes from bug 593499 [r=stechz]
--HG-- extra : rebase_source : 3ef0a007d75354c2e2cd9ba26de217d7a9a36bd9
This commit is contained in:
Родитель
eb0723aa94
Коммит
7a2155319c
|
@ -42,11 +42,12 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// how many msecs elapse before two taps are not a double tap
|
||||
// Maximum delay in ms between the two taps of a double-tap
|
||||
const kDoubleClickInterval = 400;
|
||||
|
||||
// threshold in ms to detect if the click is possibly a dblClick
|
||||
const kDoubleClickThreshold = 300;
|
||||
// If a tap lasts longer than this duration in ms, treat it as a single-tap
|
||||
// immediately instead of waiting for a possible double tap.
|
||||
const kDoubleClickThreshold = 200;
|
||||
|
||||
// threshold in pixels for sensing a tap as opposed to a pan
|
||||
const kTapRadius = 25;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
dump("###################################### content loaded\n");
|
||||
|
||||
// how many milliseconds before the mousedown and the overlay of an element
|
||||
const kTapOverlayTimeout = 300;
|
||||
const kTapOverlayTimeout = 200;
|
||||
|
||||
let Cc = Components.classes;
|
||||
let Ci = Components.interfaces;
|
||||
|
|
Загрузка…
Ссылка в новой задаче