[gnome-shell/wip/sass] overview: Set _shown before calling _animateNotVisible
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass] overview: Set _shown before calling _animateNotVisible
- Date: Thu, 8 Jan 2015 10:06:24 +0000 (UTC)
commit d709289c3bcd7fe028ff4e0ca5964fc95dbb4036
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Nov 26 18:05:36 2014 -0800
overview: Set _shown before calling _animateNotVisible
_hideDone checks _shown to determine if anything has shown the overview
while we hid it, and if so, shows the overview forward just in case.
In a local patch that called _hideDone immediately inside _hide for
testing, this broke. While we don't actually depend on this anywhere,
it doesn't hurt so that the next person to hack this up (perhaps me!)
doesn't get stuck debugging it for 20 minutes.
js/ui/overview.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index c89fef5..4da6243 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -605,9 +605,9 @@ const Overview = new Lang.Class({
return;
}
- this._animateNotVisible();
-
this._shown = false;
+
+ this._animateNotVisible();
this._syncGrab();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]