boxpointer: Don't use boxpointer actor, as it's now an actor itself

Remove this.actor = actor, since the class is now an actor itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487
This commit is contained in:
Marco Trevisan (Treviño)
2019-04-09 15:21:15 -05:00
committed by Florian Müllner
parent 526bb72f3d
commit 1be933bc49
6 changed files with 10 additions and 12 deletions

View File

@ -853,7 +853,7 @@ var PopupMenu = class extends PopupMenuBase {
if (this._activeMenuItem)
this._activeMenuItem.setActive(false);
if (this._boxPointer.actor.visible) {
if (this._boxPointer.visible) {
this._boxPointer.close(animate, () => {
this.emit('menu-closed');
});