apps-menu: Stop hiding the overview when toggled

Now that the extension no longer doubles as the "Activities" button,
that behavior is confusing.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
This commit is contained in:
Florian Müllner
2019-06-07 14:30:16 +00:00
committed by Florian Müllner
parent 6105eecff2
commit d99d0a06bd
+1 -5
View File
@@ -219,12 +219,8 @@ class ApplicationsMenu extends PopupMenu.PopupMenu {
}
toggle() {
if (this.isOpen) {
if (this.isOpen)
this._button.selectCategory(null);
} else {
if (Main.overview.visible)
Main.overview.hide();
}
super.toggle();
}
}