Use round-robin palette color for new groups

This commit is contained in:
Ben Loftis
2025-01-09 11:05:36 -06:00
committed by Robin Gareus
parent b9c531cf7f
commit be74cf1c9c

View File

@@ -886,7 +886,7 @@ GroupTabs::group_color (RouteGroup* group)
if (empty) {
/* no color has yet been set, so use a random one */
uint32_t c = Gtkmm2ext::gdk_color_to_rgba (unique_random_color (_used_colors));
uint32_t c = Gtkmm2ext::gdk_color_to_rgba (round_robin_palette_color ());
set_group_color (group, c);
return c;
}