lightbox: Change vignette brightness to 0.5

Since the overview search results now have a dark background layer, we
can brighten the background image a bit again. As a factor we use 0.5,
since that ensures the texts in the IconGrid are still readable and the
background image is visible, too.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2133
This commit is contained in:
Jonas Dreßler 2020-01-19 18:01:57 +01:00
parent a68762980f
commit 765895fb19

View File

@ -6,7 +6,7 @@ const { Clutter, GObject, Shell, St } = imports.gi;
const Params = imports.misc.params;
var DEFAULT_FADE_FACTOR = 0.4;
var VIGNETTE_BRIGHTNESS = 0.2;
var VIGNETTE_BRIGHTNESS = 0.5;
var VIGNETTE_SHARPNESS = 0.7;
const VIGNETTE_DECLARATIONS = '\