Bug Tracker

Changeset 5594

Show
Ignore:
Timestamp:
05/14/08 14:48:56 (7 months ago)
Author:
scott.gonzalez
Message:

UI Experimental Mouse: minor cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/ui-experimental/mouse/ui.core.js

    r5593 r5594  
    269269             
    270270            var distance = Math.max( 
    271                 Math.abs(self._MP.left - e.pageX), 
    272                 Math.abs(self._MP.top - e.pageY)); 
     271                Math.abs(this._MP.left - e.pageX), 
     272                Math.abs(this._MP.top - e.pageY)); 
    273273            if (!this.mouseInitialized && (distance > o.distance)) { 
    274274                (o.mouseStart && o.mouseStart.call(this, e, this.element));