From 2e4fb404a7e89f9a79bc99a0b762a5c571e69d6d Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 3 Jul 2019 14:53:09 -0300 Subject: [PATCH] controlsManager: Don't fade icon grid while dragging As pointed out by designers, fading it signals that the icon grid is not a drop target, when now it actually is. Remove the fade effect applied to the icon grid when dragging. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/603 --- js/ui/overviewControls.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index e5bb38479..378cc1b32 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -424,17 +424,6 @@ var ControlsManager = class { layout.connect('allocation-changed', this._updateWorkspacesGeometry.bind(this)); Main.overview.connect('showing', this._updateSpacerVisibility.bind(this)); - Main.overview.connect('item-drag-begin', () => { - let activePage = this.viewSelector.getActivePage(); - if (activePage != ViewSelector.ViewPage.WINDOWS) - this.viewSelector.fadeHalf(); - }); - Main.overview.connect('item-drag-end', () => { - this.viewSelector.fadeIn(); - }); - Main.overview.connect('item-drag-cancelled', () => { - this.viewSelector.fadeIn(); - }); } _updateWorkspacesGeometry() {