summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_column_labels.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-08 14:15:28 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-08 14:15:28 +0000
commitb37bc5e5b2d597c472a603747ed139cc74107013 (patch)
treeb78cf5fe7835be197940e52e679e15f5a43a1616 /gtk2_ardour/port_matrix_column_labels.cc
parent420d5d659219088b4eb9d41035997a020adf2afa (diff)
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
Diffstat (limited to 'gtk2_ardour/port_matrix_column_labels.cc')
-rw-r--r--gtk2_ardour/port_matrix_column_labels.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix_column_labels.cc b/gtk2_ardour/port_matrix_column_labels.cc
index 99dc369f0a..04b57c404f 100644
--- a/gtk2_ardour/port_matrix_column_labels.cc
+++ b/gtk2_ardour/port_matrix_column_labels.cc
@@ -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();
}