windowMenu: Animate menu
Most menus have an animation, so add one to the window menu for consistency and better looks (like !712). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/717
This commit is contained in:
parent
e4b8a4b432
commit
4525ad346d
@ -224,7 +224,7 @@ var WindowMenuManager = class {
|
|||||||
this._sourceActor.set_position(rect.x, rect.y);
|
this._sourceActor.set_position(rect.x, rect.y);
|
||||||
this._sourceActor.show();
|
this._sourceActor.show();
|
||||||
|
|
||||||
menu.open(BoxPointer.PopupAnimation.NONE);
|
menu.open(BoxPointer.PopupAnimation.FADE);
|
||||||
menu.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
|
menu.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
|
||||||
menu.connect('open-state-changed', (menu_, isOpen) => {
|
menu.connect('open-state-changed', (menu_, isOpen) => {
|
||||||
if (isOpen)
|
if (isOpen)
|
||||||
|
Loading…
Reference in New Issue
Block a user