Side menu threshold fix

This commit is contained in:
Max Lynch
2013-10-09 10:30:22 -05:00
parent 733d9996b3
commit a5b1a51e6e

View File

@ -247,7 +247,7 @@
}
// Calculate difference from the tap points
if(Math.abs(this._lastX - this._startX) > this.dragThresholdX) {
if(!this._isDragging && Math.abs(this._lastX - this._startX) > this.dragThresholdX) {
// if the difference is greater than threshold, start dragging using the current
// point as the starting point
this._startX = this._lastX