overview: Pass state while calling _animateVisible()

Pass OverviewControls.ControlsState.WINDOW_PICKER to the _animateVisible
function in _hideDone().

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1769>
This commit is contained in:
Suryashankar Das 2021-03-16 18:21:05 +05:30 committed by Marge Bot
parent b3f34d12f1
commit 4bfb91c5cd

View File

@ -619,7 +619,7 @@ var Overview = class {
this.emit('hidden'); this.emit('hidden');
// Handle any calls to show* while we were hiding // Handle any calls to show* while we were hiding
if (this._shown) if (this._shown)
this._animateVisible(); this._animateVisible(OverviewControls.ControlsState.WINDOW_PICKER);
else else
Main.layoutManager.hideOverview(); Main.layoutManager.hideOverview();