diff --git a/js/ui/dash.js b/js/ui/dash.js index 6417ebb01..0456de86b 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -575,9 +575,18 @@ Dash.prototype = { for (let i = 0; i < removedActors.length; i++) { removedActors[i].show(); let item = removedActors[i]._delegate; - item.animateOutAndDestroy(); + + // Don't animate item removal when the overview is hidden + if (Main.overview.visible) + item.animateOutAndDestroy(); + else + item.actor.destroy(); } + // Don't animate item addition when the overview is hidden + if (!Main.overview.visible) + return; + for (let i = 0; i < addedItems.length; i++) addedItems[i].item.animateIn(); },