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
This commit is contained in:
Jasper St. Pierre 2011-05-07 03:12:52 -04:00
parent 4bfc3bafcb
commit c4f5274d74

View File

@ -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;