From 980a38a988e5cf42592747180d33451c0eeda21f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 9 Apr 2020 14:00:10 -0600 Subject: still show port names in bundles with only a single port a given type The bundle name is typically insufficient to identify the port --- gtk2_ardour/port_matrix_column_labels.cc | 20 +++++++------------- 1 file 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 -- cgit v1.2.3