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:
parent
4bfc3bafcb
commit
c4f5274d74
@ -302,6 +302,7 @@ AppMenuButton.prototype = {
|
|||||||
|
|
||||||
this._visible = true;
|
this._visible = true;
|
||||||
this.actor.show();
|
this.actor.show();
|
||||||
|
this.actor.reactive = true;
|
||||||
|
|
||||||
if (!this._targetIsCurrent)
|
if (!this._targetIsCurrent)
|
||||||
return;
|
return;
|
||||||
@ -318,6 +319,7 @@ AppMenuButton.prototype = {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
this._visible = false;
|
this._visible = false;
|
||||||
|
this.actor.reactive = false;
|
||||||
if (!this._targetIsCurrent) {
|
if (!this._targetIsCurrent) {
|
||||||
this.actor.hide();
|
this.actor.hide();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user