[gnome-shell] overviewControls: reset translation as well when entering overview



commit 0705901bcedfdcf3af79493fe736e77a615582ca
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Feb 16 11:57:58 2013 -0500

    overviewControls: reset translation as well when entering overview
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693974

 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 a272843..37894ed 100644
--- a/js/ui/overviewControls.js
+++ b/js/ui/overviewControls.js
@@ -157,6 +157,7 @@ const SlidingControl = new Lang.Class({
         // entering the overview
         this.visible = true;
         this.layout.slideX = this.getSlide();
+        this.actor.translation_x = 0;
     },
 
     _onDragBegin: function() {


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