[gnome-shell] appDisplay: Extend faded edges beyond fade area
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Extend faded edges beyond fade area
- Date: Tue, 11 May 2021 13:25:56 +0000 (UTC)
commit 0ccdb4746fedfba4b64aa5e432c49e832271c98b
Author: Florian Müllner <fmuellner gnome org>
Date: Wed May 5 14:59:18 2021 +0200
appDisplay: Extend faded edges beyond fade area
Now that the fade effect was reverted to the old behavior by default,
the app grid must opt-in extend faded edges beyond the regular fade
area.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1831>
js/ui/appDisplay.js | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b926aab98b..2086102b4d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -364,6 +364,9 @@ var BaseAppView = GObject.registerClass({
}
this._scrollView.update_fade_effect(fadeMargin);
+ const effect = this._scrollView.get_effect('fade');
+ if (effect)
+ effect.extend_fade_area = true;
}
_updateFade() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]