Remove assertion again
When doing a double tap, the timeout id might get overridden.
This commit is contained in:
@@ -161,7 +161,6 @@ ol.pointer.TouchSource.prototype.removePrimaryPointer_ = function(inPointer) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
ol.pointer.TouchSource.prototype.resetClickCount_ = function() {
|
ol.pointer.TouchSource.prototype.resetClickCount_ = function() {
|
||||||
goog.asserts.assert(!goog.isDef(this.resetId_));
|
|
||||||
this.resetId_ = goog.global.setTimeout(this.resetClickCountHandler_,
|
this.resetId_ = goog.global.setTimeout(this.resetClickCountHandler_,
|
||||||
ol.pointer.TouchSource.CLICK_COUNT_TIMEOUT);
|
ol.pointer.TouchSource.CLICK_COUNT_TIMEOUT);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user