[gnome-shell] overviewControls: reset translation as well when entering overview
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overviewControls: reset translation as well when entering overview
- Date: Sat, 16 Feb 2013 18:26:51 +0000 (UTC)
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]