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
This commit is contained in:
parent
11ce7829bc
commit
2e4fb404a7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user