mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix a few SNAFUs in the port matrix related to multi-type bundles (#4454).
git-svn-id: svn://localhost/ardour2/branches/3.0@10494 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
420d5d6592
commit
b37bc5e5b2
4 changed files with 42 additions and 4 deletions
|
|
@ -156,10 +156,12 @@ PortMatrixColumnLabels::render (cairo_t* cr)
|
|||
|
||||
for (uint32_t j = 0; j < C; ++j) {
|
||||
Gdk::Color c = (*i)->has_colour ? (*i)->colour : get_a_bundle_colour (N);
|
||||
|
||||
ARDOUR::BundleChannel bc (
|
||||
(*i)->bundle,
|
||||
(*i)->bundle->type_channel_to_overall (_matrix->type (), j)
|
||||
);
|
||||
|
||||
render_channel_name (cr, background_colour (), c, x, 0, bc);
|
||||
x += grid_spacing();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue