Revert "workspacesView: Only animate on show() when geometries are already set"
This reverts commit bda8ba5ed1
.
For not yet known reasons this caused a regression on the stable branch. Further
more it appears not to be needed, as no work depending on it has been backported
so far.
This commit is contained in:
parent
5f509855e2
commit
8f6c64f607
@ -611,16 +611,13 @@ class WorkspacesDisplay extends St.Widget {
|
|||||||
|
|
||||||
show(fadeOnPrimary) {
|
show(fadeOnPrimary) {
|
||||||
this._updateWorkspacesViews();
|
this._updateWorkspacesViews();
|
||||||
|
for (let i = 0; i < this._workspacesViews.length; i++) {
|
||||||
if (this._actualGeometry && this._fullGeometry) {
|
let animationType;
|
||||||
for (let i = 0; i < this._workspacesViews.length; i++) {
|
if (fadeOnPrimary && i == this._primaryIndex)
|
||||||
let animationType;
|
animationType = AnimationType.FADE;
|
||||||
if (fadeOnPrimary && i == this._primaryIndex)
|
else
|
||||||
animationType = AnimationType.FADE;
|
animationType = AnimationType.ZOOM;
|
||||||
else
|
this._workspacesViews[i].animateToOverview(animationType);
|
||||||
animationType = AnimationType.ZOOM;
|
|
||||||
this._workspacesViews[i].animateToOverview(animationType);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this._restackedNotifyId =
|
this._restackedNotifyId =
|
||||||
|
Loading…
Reference in New Issue
Block a user