messageTray: Animate the context menu
Use animation for opening and closing the menu.
This commit is contained in:
parent
01ac5aeb0d
commit
b292384380
@ -1766,11 +1766,11 @@ const MessageTray = new Lang.Class({
|
||||
this._grabHelper.grab({ actor: this._contextMenu.actor,
|
||||
grabFocus: true,
|
||||
onUngrab: Lang.bind(this, function () {
|
||||
this._contextMenu.close();
|
||||
this._contextMenu.close(BoxPointer.PopupAnimation.FULL);
|
||||
this._unlock();
|
||||
})
|
||||
});
|
||||
this._contextMenu.open();
|
||||
this._contextMenu.open(BoxPointer.PopupAnimation.FULL);
|
||||
},
|
||||
|
||||
close: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user