Reduce GtkDial circle brightness

Provides better contrast between dials in the sea of mixer knobs.
This commit is contained in:
Geoffrey D. Bennett
2024-02-22 01:58:12 +10:30
parent 49dda51562
commit 396275d02c

View File

@@ -375,8 +375,8 @@ static int update_dial_properties(GtkDial *dial) {
dial->cx + dial->radius / 2, dial->cx + dial->radius / 2,
dial->cy + dial->radius / 2 dial->cy + dial->radius / 2
); );
cairo_add_stop_rgb_dim(pat, 0, 0.9, 0.9, 0.9, dim, 1); cairo_add_stop_rgb_dim(pat, 0, 0.6, 0.6, 0.6, dim, 1);
cairo_add_stop_rgb_dim(pat, 1, 0.3, 0.3, 0.3, dim, 1); cairo_add_stop_rgb_dim(pat, 1, 0.2, 0.2, 0.2, dim, 1);
dial->outline_pattern[dim] = pat; dial->outline_pattern[dim] = pat;
} }