[gnome-shell/gbsneto/icon-grid-dnd: 84/96] controlsManager: Don't fade icon grid while dragging
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/icon-grid-dnd: 84/96] controlsManager: Don't fade icon grid while dragging
- Date: Tue, 16 Jul 2019 23:29:11 +0000 (UTC)
commit 9ba8e564ac6e35b5dfe888f0b00e842fddcc5862
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jul 3 14:53:09 2019 -0300
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 e9f81f776..5987d71d3 100644
--- a/js/ui/overviewControls.js
+++ b/js/ui/overviewControls.js
@@ -423,17 +423,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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]