summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eel/eel-graphic-effects.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eel/eel-graphic-effects.c b/eel/eel-graphic-effects.c
index 4204e8825..1a57bc768 100644
--- a/eel/eel-graphic-effects.c
+++ b/eel/eel-graphic-effects.c
@@ -49,11 +49,13 @@ create_new_pixbuf (GdkPixbuf *src)
/* utility routine to bump the level of a color component with pinning */
+const int HOVER_COMPONENT_ADDITION = 15;
+
static guchar
lighten_component (guchar cur_value)
{
int new_value = cur_value;
- new_value += 24 + (new_value >> 3);
+ new_value = cur_value + HOVER_COMPONENT_ADDITION;
if (new_value > 255)
{
new_value = 255;