From c4f5274d74a04b88c5a8ba7615ed16b44c6c82a8 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 7 May 2011 03:12:52 -0400 Subject: [PATCH] appMenu: Disable reactivity at the start of animation If you clicked on the application button while it was fading out, like during a transition to the overview, a vestigal menu appeared. https://bugzilla.gnome.org/show_bug.cgi?id=639459 --- js/ui/panel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/panel.js b/js/ui/panel.js index cfc5e4d2d..6a24ac99d 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -302,6 +302,7 @@ AppMenuButton.prototype = { this._visible = true; this.actor.show(); + this.actor.reactive = true; if (!this._targetIsCurrent) return; @@ -318,6 +319,7 @@ AppMenuButton.prototype = { return; this._visible = false; + this.actor.reactive = false; if (!this._targetIsCurrent) { this.actor.hide(); return;