workspacesView: Rename show to animateToOverview
WorkspacesDisplay is a ClutterActor subclass, and overriding the show and hide methods require chaining up, otherwise the actor isn't actually shown or hidden. To avoid clashing with the pre-existing show method, rename to animateToOverview. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295
This commit is contained in:
@ -273,7 +273,7 @@ var ViewSelector = GObject.registerClass({
|
||||
|
||||
show() {
|
||||
this.reset();
|
||||
this._workspacesDisplay.show(this._showAppsButton.checked);
|
||||
this._workspacesDisplay.animateToOverview(this._showAppsButton.checked);
|
||||
this._activePage = null;
|
||||
if (this._showAppsButton.checked)
|
||||
this._showPage(this._appsPage);
|
||||
|
Reference in New Issue
Block a user