Skip to content
Permalink
Browse files

Mouse: invoke drag immediately on start if the start occurs during mo…

…usemove..
  • Loading branch information
scottgonzalez committed Jun 4, 2008
1 parent 2f80c18 commit f17737b2d4b2fdd8bf474ac62a62176a9bd496bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/source/ui.core.js
@@ -236,7 +236,7 @@ $.ui.mouse = {
if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) {
this._mouseStarted =
(this.mouseStart(this._mouseDownEvent, e) !== false);
(this._mouseStarted || this.mouseUp(e));
(this._mouseStarted ? this.mouseDrag(e) : this.mouseUp(e));
}

return !this._mouseStarted;

0 comments on commit f17737b

Please sign in to comment.
You can’t perform that action at this time.