slight improvement in shaded pattern

This commit is contained in:
Antonio Carzaniga 2021-06-08 21:00:31 +02:00
parent 5ba97e9edf
commit 6d3fea4443

View File

@ -503,7 +503,7 @@ struct ball_face * new_ball_face(unsigned int radius, cairo_surface_t * face, in
} else { } else {
cairo_pattern_t *pat; cairo_pattern_t *pat;
pat = cairo_pattern_create_radial (-0.2*radius, -0.2*radius, 0.2*radius, pat = cairo_pattern_create_radial (-0.2*radius, -0.2*radius, 0.2*radius,
-0.2*radius, -0.2*radius, 1.2*radius); -0.2*radius, -0.2*radius, 1.3*radius);
double col_r = random_color_component(); double col_r = random_color_component();
double col_g = random_color_component(); double col_g = random_color_component();
double col_b = random_color_component(); double col_b = random_color_component();