appDisplay: Animate opening app icons menu

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2335

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1585>
This commit is contained in:
Razze 2021-01-23 20:44:11 +01:00
parent 1eec8eebdc
commit bc2cb9d910

View File

@ -6,6 +6,7 @@ const { Clutter, Gio, GLib, GObject, Graphene, Meta,
const Signals = imports.signals; const Signals = imports.signals;
const AppFavorites = imports.ui.appFavorites; const AppFavorites = imports.ui.appFavorites;
const BoxPointer = imports.ui.boxpointer;
const DND = imports.ui.dnd; const DND = imports.ui.dnd;
const GrabHelper = imports.ui.grabHelper; const GrabHelper = imports.ui.grabHelper;
const IconGrid = imports.ui.iconGrid; const IconGrid = imports.ui.iconGrid;
@ -3091,7 +3092,7 @@ var AppIconMenu = class AppIconMenu extends PopupMenu.PopupMenu {
popup(_activatingButton) { popup(_activatingButton) {
this._rebuildMenu(); this._rebuildMenu();
this.open(); this.open(BoxPointer.PopupAnimation.FULL);
} }
}; };
Signals.addSignalMethods(AppIconMenu.prototype); Signals.addSignalMethods(AppIconMenu.prototype);