viewSelector: Rename show to animateToOverview

The same reasoning as the previous commits.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295
This commit is contained in:
Georges Basile Stavracas Neto 2020-06-02 00:59:27 -03:00
parent 8914a46669
commit fc3bc7678d
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ var Overview = class {
this._activationTime = GLib.get_monotonic_time() / GLib.USEC_PER_SEC; this._activationTime = GLib.get_monotonic_time() / GLib.USEC_PER_SEC;
Meta.disable_unredirect_for_display(global.display); Meta.disable_unredirect_for_display(global.display);
this.viewSelector.show(); this.viewSelector.animateToOverview();
this._overview.opacity = 0; this._overview.opacity = 0;
this._overview.ease({ this._overview.ease({

View File

@ -271,7 +271,7 @@ var ViewSelector = GObject.registerClass({
Main.overview.show(); Main.overview.show();
} }
show() { animateToOverview() {
this.reset(); this.reset();
this._workspacesDisplay.animateToOverview(this._showAppsButton.checked); this._workspacesDisplay.animateToOverview(this._showAppsButton.checked);
this._activePage = null; this._activePage = null;