overviewControls: reset any translation when sliding in for drag

Fixes the dash not sliding when dragging an app from the search results.
This commit is contained in:
Cosimo Cecchi 2013-02-17 15:44:33 -05:00
parent 6b4f524620
commit 12845f0eef

View File

@ -163,6 +163,7 @@ const SlidingControl = new Lang.Class({
_onDragBegin: function() { _onDragBegin: function() {
this.inDrag = true; this.inDrag = true;
this.actor.translation_x = 0;
this.updateSlide(); this.updateSlide();
}, },