mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
Add option to use a neutral color for new routes
This commit is contained in:
parent
23a9ce4651
commit
9e35a9da66
4 changed files with 37 additions and 2 deletions
|
|
@ -366,7 +366,11 @@ RouteUI::set_route (std::shared_ptr<Route> rp)
|
|||
}
|
||||
|
||||
if (set_color_from_route()) {
|
||||
set_color (gdk_color_to_rgba (AxisView::unique_random_color ()));
|
||||
if (UIConfiguration::instance().get_use_palette_for_new_route ()) {
|
||||
set_color (gdk_color_to_rgba (AxisView::unique_random_color ()));
|
||||
} else {
|
||||
set_color (UIConfiguration::instance ().color (X_("neutral:midground")));
|
||||
}
|
||||
}
|
||||
|
||||
if (self_destruct) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue