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:
parent
6b4f524620
commit
12845f0eef
@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user