mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
overview: Make preparation to enter/leave overview explicit
This give us more control on when the preparation happens and will be used in the subsequent commit. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2532>
This commit is contained in:
parent
b8b8919563
commit
f23ca85f79
2 changed files with 10 additions and 4 deletions
|
|
@ -727,8 +727,6 @@ class ControlsManager extends St.Widget {
|
|||
animateToOverview(state, callback) {
|
||||
this._ignoreShowAppsButtonToggle = true;
|
||||
|
||||
this.prepareToEnterOverview();
|
||||
|
||||
this._stateAdjustment.value = ControlsState.HIDDEN;
|
||||
this._stateAdjustment.ease(state, {
|
||||
duration: Overview.ANIMATION_TIME,
|
||||
|
|
@ -748,8 +746,6 @@ class ControlsManager extends St.Widget {
|
|||
animateFromOverview(callback) {
|
||||
this._ignoreShowAppsButtonToggle = true;
|
||||
|
||||
this.prepareToLeaveOverview();
|
||||
|
||||
this._stateAdjustment.ease(ControlsState.HIDDEN, {
|
||||
duration: Overview.ANIMATION_TIME,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue