Increased drag latency thresholds
This commit is contained in:
parent
07dc0185fc
commit
853b57e57c
|
@ -731,10 +731,10 @@ function xa(a, b) {
|
|||
a.mode = 2;
|
||||
a.c.start(B(a.view, b));
|
||||
}
|
||||
}.bind(a), 130);
|
||||
}.bind(a), 150);
|
||||
}
|
||||
X.prototype.r = function(a) {
|
||||
if (!this.k && 130 > $.now() - this.I && 3 < n(a, this.B).length()) {
|
||||
if (!this.k && 150 > $.now() - this.I && 6 < n(a, this.B).length()) {
|
||||
this.k = !0;
|
||||
var b = this.b;
|
||||
b.mode = 1;
|
||||
|
|
|
@ -23,8 +23,8 @@ try {
|
|||
|
||||
/** @const */ var ERASE_CHAR = '\u2009';
|
||||
|
||||
/** @const */ var DRAG_LATENCY = 130; // Milliseconds.
|
||||
/** @const */ var DRAG_ACCURACY = 3; // Pixels.
|
||||
/** @const */ var DRAG_LATENCY = 150; // Milliseconds.
|
||||
/** @const */ var DRAG_ACCURACY = 6; // Pixels.
|
||||
|
||||
/** @const */ var CHAR_PIXELS_H = 9;
|
||||
/** @const */ var CHAR_PIXELS_V = 17;
|
||||
|
|
Loading…
Reference in New Issue