Skip to content
Snippets Groups Projects
Commit 0b22517f authored by Sergio Cipolla's avatar Sergio Cipolla Committed by Jérôme Guelfucci
Browse files

Increase transparency of selection background (bug #9592).

parent 7440ccd4
No related branches found
No related tags found
No related merge requests found
......@@ -523,7 +523,7 @@ static gboolean cb_expose (GtkWidget *widget,
for (i = 0; i < n_rects; ++i)
{
/* Restore the transparent background */
cairo_set_source_rgba (cr, 0, 0, 0, 0.8);
cairo_set_source_rgba (cr, 0, 0, 0, 0.4);
gdk_cairo_rectangle (cr, &rects[i]);
cairo_fill (cr);
......@@ -548,7 +548,7 @@ static gboolean cb_expose (GtkWidget *widget,
/* Draw the transparent background */
cr = gdk_cairo_create (GDK_DRAWABLE (widget->window));
cairo_set_source_rgba (cr, 0, 0, 0, 0.8);
cairo_set_source_rgba (cr, 0, 0, 0, 0.4);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
for (i = 0; i < n_rects; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment