[gnome-shell] overviewControls: reset any translation when sliding in for drag



commit 12845f0eefa02b9a3f54c4263ac8d1b1157634b8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Feb 17 15:44:33 2013 -0500

    overviewControls: reset any translation when sliding in for drag
    
    Fixes the dash not sliding when dragging an app from the search results.

 js/ui/overviewControls.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js
index 1a0dc3d..4800f4f 100644
--- a/js/ui/overviewControls.js
+++ b/js/ui/overviewControls.js
@@ -163,6 +163,7 @@ const SlidingControl = new Lang.Class({
 
     _onDragBegin: function() {
         this.inDrag = true;
+        this.actor.translation_x = 0;
         this.updateSlide();
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]