summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_column_labels.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_matrix_column_labels.cc')
-rw-r--r--gtk2_ardour/port_matrix_column_labels.cc20
1 files changed, 7 insertions, 13 deletions
diff --git a/gtk2_ardour/port_matrix_column_labels.cc b/gtk2_ardour/port_matrix_column_labels.cc
index ed81933b9e..f8bbf19004 100644
--- a/gtk2_ardour/port_matrix_column_labels.cc
+++ b/gtk2_ardour/port_matrix_column_labels.cc
@@ -376,21 +376,15 @@ PortMatrixColumnLabels::render_channel_name (
);
}
- if (_matrix->count_of_our_type (bc.bundle->nchannels()) > 1) {
-
- /* only plot the name if the bundle has more than one channel;
- the name of a single channel is assumed to be redundant */
-
- cairo_save (cr);
- cairo_rotate (cr, -angle());
+ cairo_save (cr);
+ cairo_rotate (cr, -angle());
- cairo_show_text (
- cr,
- bc.bundle->channel_name(bc.channel).c_str()
- );
+ cairo_show_text (
+ cr,
+ bc.bundle->channel_name(bc.channel).c_str()
+ );
- cairo_restore (cr);
- }
+ cairo_restore (cr);
}
double