search for: decrementmousemovetim

Displaying 1 result from an estimated 1 matches for "decrementmousemovetim".

2006 Feb 14
0
Another draggable/droppable performance booster
....inspect() == pointer.inspect())) return; this._lastPointer = pointer; this.mouseMoveTimerValue = 1; this.activeDraggable.updateDrag(event, pointer); if (this.mouseMoveTimer) clearTimeout(this.mouseMoveTimer) this.mouseMoveTimer = setTimeout(function() { this.decrementMouseMoveTimer(); }.bind(this), 50); }, decrementMouseMoveTimer: function() { if (this.mouseMoveTimerValue > 0) { this.mouseMoveTimerValue--; this.mouseMoveTimer = setTimeout(function() { this.decrementMouseMoveTimer(); }.bind(this), 50); } else {...