overviewControls: Avoid hiding early AppDisplay when transitioning to Session
When transitioning from AppDisplay to Session, AppDisplay should be visible throughout the transition. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4214 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1886>
This commit is contained in:
parent
5be67eb190
commit
177b36f82b
@ -534,8 +534,8 @@ class ControlsManager extends St.Widget {
|
||||
if (!stateTransitionParams)
|
||||
stateTransitionParams = this._stateAdjustment.getStateTransitionParams();
|
||||
|
||||
const { currentState, finalState } = stateTransitionParams;
|
||||
const state = Math.max(currentState, finalState);
|
||||
const { initialState, finalState } = stateTransitionParams;
|
||||
const state = Math.max(initialState, finalState);
|
||||
|
||||
this._appDisplay.visible =
|
||||
state > ControlsState.WINDOW_PICKER &&
|
||||
|
Loading…
Reference in New Issue
Block a user