overview: Don't fade OverviewActor
Now that the workspace display is properly allocated for each frame, we don't want to fade the entire overview anymore. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1624>
This commit is contained in:

committed by
Marge Bot

parent
b6337a7bf1
commit
1ad1db406e
@ -98,32 +98,11 @@ class OverviewActor extends St.BoxLayout {
|
||||
}
|
||||
|
||||
animateToOverview(callback) {
|
||||
this._controls.animateToOverview();
|
||||
|
||||
this.opacity = 0;
|
||||
this.ease({
|
||||
opacity: 255,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
duration: ANIMATION_TIME,
|
||||
onStopped: () => {
|
||||
if (callback)
|
||||
callback();
|
||||
},
|
||||
});
|
||||
this._controls.animateToOverview(callback);
|
||||
}
|
||||
|
||||
animateFromOverview(callback) {
|
||||
this._controls.animateFromOverview();
|
||||
|
||||
this.ease({
|
||||
opacity: 0,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
duration: ANIMATION_TIME,
|
||||
onStopped: () => {
|
||||
if (callback)
|
||||
callback();
|
||||
},
|
||||
});
|
||||
this._controls.animateFromOverview(callback);
|
||||
}
|
||||
|
||||
get dash() {
|
||||
|
Reference in New Issue
Block a user