Fix route color selection dialog
This commit is contained in:
parent
d3bb4e8b08
commit
ae1d4a9346
@ -1561,7 +1561,7 @@ void
|
||||
RouteUI::choose_color ()
|
||||
{
|
||||
bool picked;
|
||||
Gdk::Color c (gdk_color_from_rgb (_route->presentation_info().color()));
|
||||
Gdk::Color c (gdk_color_from_rgba (_route->presentation_info().color()));
|
||||
Gdk::Color const color = Gtkmm2ext::UI::instance()->get_color (_("Color Selection"), picked, &c);
|
||||
|
||||
if (picked) {
|
||||
|
@ -276,7 +276,7 @@ Gdk::Color
|
||||
ARDOUR_UI_UTILS::gdk_color_from_rgba (uint32_t rgba)
|
||||
{
|
||||
Gdk::Color c;
|
||||
set_color_from_rgb (c, rgba);
|
||||
set_color_from_rgb (c, rgba >> 8);
|
||||
return c;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user