Make clients graphics use lighter random colors.

This commit is contained in:
Kristian Høgsberg 2008-10-12 22:58:40 -04:00
parent 48a33baec7
commit d311e8a061
1 changed files with 4 additions and 4 deletions

View File

@ -70,10 +70,10 @@ static void
set_random_color(cairo_t *cr)
{
cairo_set_source_rgba(cr,
(random() % 100) / 99.0,
(random() % 100) / 99.0,
(random() % 100) / 99.0,
(random() % 100) / 99.0);
0.5 + (random() % 50) / 49.0,
0.5 + (random() % 50) / 49.0,
0.5 + (random() % 50) / 49.0,
0.5 + (random() % 100) / 99.0);
}