overviewControls: reset translation as well when entering overview

https://bugzilla.gnome.org/show_bug.cgi?id=693974
This commit is contained in:
Cosimo Cecchi 2013-02-16 11:57:58 -05:00
parent 87495575bc
commit 0705901bce

View File

@ -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() {