diff --git a/taskbar.js b/taskbar.js index d5d1f8b..5169672 100644 --- a/taskbar.js +++ b/taskbar.js @@ -1236,19 +1236,9 @@ var taskbar = Utils.defineClass({ }; } - // force spring animation triggering.By default the animation only - // runs if we are already inside the overview. + // force exiting overview if needed if (!Main.overview._shown) { this.forcedOverview = true; - let grid = AppDisplay._grid; - let onShownCb; - let overviewSignal = Config.PACKAGE_VERSION > '3.38.1' ? 'showing' : 'shown'; - let overviewShowingId = Main.overview.connect(overviewSignal, () => { - Main.overview.disconnect(overviewShowingId); - onShownCb(); - }); - - onShownCb = () => grid.emit('animation-done'); } //temporarily use as primary the monitor on which the showapps btn was clicked, this is