workspace: Remove more dead code
By the time zoomToOverview is called, an animation will always be in progress. https://bugzilla.gnome.org/show_bug.cgi?id=694469
This commit is contained in:
parent
7e5d8a8d54
commit
ada70dd683
@ -1296,10 +1296,7 @@ const Workspace = new Lang.Class({
|
||||
// Animate the full-screen to Overview transition.
|
||||
zoomToOverview : function() {
|
||||
// Position and scale the windows.
|
||||
if (Main.overview.animationInProgress)
|
||||
this._positionWindows(WindowPositionFlags.ANIMATE | WindowPositionFlags.INITIAL);
|
||||
else
|
||||
this._positionWindows(WindowPositionFlags.INITIAL);
|
||||
},
|
||||
|
||||
// Animates the return from Overview mode
|
||||
|
Loading…
Reference in New Issue
Block a user