mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Disallow black as a route group colour; force a dark
grey instead (part of #4064). git-svn-id: svn://localhost/ardour2/branches/3.0@10061 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
932b0e9ec1
commit
10e1807fba
1 changed files with 5 additions and 0 deletions
|
|
@ -525,6 +525,11 @@ void
|
|||
GroupTabs::set_group_color (RouteGroup* group, Gdk::Color color)
|
||||
{
|
||||
assert (group);
|
||||
|
||||
/* Hack to disallow black route groups; force a dark grey instead */
|
||||
if (color.get_red() == 0 && color.get_green() == 0 && color.get_blue() == 0) {
|
||||
color.set_grey_p (0.1);
|
||||
}
|
||||
|
||||
GUIObjectState& gui_state = *ARDOUR_UI::instance()->gui_object_state;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue