isDraggable fix
authorBenjamin Stover <bstover@mozilla.com>
Wed, 01 Sep 2010 15:26:40 -0700
changeset 66618 1debde1c14c26f46174fb0d11aef1c561a534385
parent 66617 7575c0d0363c7ea119bfddf32d248a7c983d0ad9
child 66619 25769ada9139076f18a28c66d19662b52eadf3b3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
isDraggable fix
mobile/chrome/content/InputHandler.js
--- a/mobile/chrome/content/InputHandler.js
+++ b/mobile/chrome/content/InputHandler.js
@@ -454,17 +454,17 @@ MouseModule.prototype = {
       if (this._clickTimeout) {
         // cancel all pending content clicks
         window.clearTimeout(this._clickTimeout);
         this._cleanClickBuffer();
       }
 
       if (this._dragger) {
         // do not allow axis locking if panning is only possible in one direction
-        let draggable = this._dragger.isDraggable();
+        let draggable = this._dragger.isDraggable(targetScrollbox, targetScrollInterface);
         dragData.locked = !draggable.x || !draggable.y;
       }
     }
   },
 
   /**
    * Handle a mouseup by swallowing the event (just as we did the mousedown) as
    * well as the possible DOM click event that follows, making one last drag