[gnome-shell/gbsneto/folder-dialog-improvements: 17/18] appDisplay: Don't fade icons when a folder dialog is open
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/folder-dialog-improvements: 17/18] appDisplay: Don't fade icons when a folder dialog is open
- Date: Fri, 5 Jun 2020 03:40:54 +0000 (UTC)
commit 8dc91e94936e58eb68e6e18ba734fad048301ab1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jun 5 00:33:52 2020 -0300
appDisplay: Don't fade icons when a folder dialog is open
The folder dialog itself now has a background, there's no
need to fade the icons anymore.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1301
js/ui/appDisplay.js | 17 -----------------
1 file changed, 17 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index f2d9fb064f..656b06ddfd 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -721,7 +721,6 @@ class AppDisplay extends BaseAppView {
this._currentDialogDestroyId = 0;
});
}
- this._updateIconOpacities(isOpen);
this._displayingDialog = isOpen;
});
}
@@ -731,22 +730,6 @@ class AppDisplay extends BaseAppView {
this.goToPage(itemPage);
}
- _updateIconOpacities(folderOpen) {
- for (let icon of this._items.values()) {
- let opacity;
- if (folderOpen && !icon.checked)
- opacity = INACTIVE_GRID_OPACITY;
- else
- opacity = 255;
-
- icon.ease({
- opacity,
- duration: INACTIVE_GRID_OPACITY_ANIMATION_TIME,
- mode: Clutter.AnimationMode.EASE_OUT_QUAD,
- });
- }
- }
-
// Called before allocation to calculate dynamic spacing
adaptToSize(width, height) {
let box = new Clutter.ActorBox();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]