Skip to content

Commit

Permalink
eel-graphic-effects.c: Lessen the effect eel_create_spotlight_pixbuf.
Browse files Browse the repository at this point in the history
This applies the lightening to icons that are hovered over, or have
been 'Cut'. The effect seemed a bit much on text/page-style icons.
  • Loading branch information
mtwebster committed Sep 2, 2018
1 parent 0365dfc commit 505ac2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eel/eel-graphic-effects.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static guchar
lighten_component (guchar cur_value)
{
int new_value = cur_value;
new_value += 24 + (new_value >> 3);
new_value += 10 + (new_value >> 3);
if (new_value > 255) {
new_value = 255;
}
Expand Down

0 comments on commit 505ac2a

Please sign in to comment.