diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-05-29 15:16:00 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-05-29 15:24:40 -0600 |
commit | 8463fb728f5215870c67e26a45996f6fc5179571 (patch) | |
tree | 4c0cfa45bd301356ae06bf010387a5d4b36eceee /gtk2_ardour/time_axis_view_item.cc | |
parent | b1587940e46d220a696d6cf11b9b0efd3b144b85 (diff) |
add option to show/hide region names
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index b89a67242e..911b0cd73e 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -870,7 +870,7 @@ TimeAxisViewItem::manage_name_text () return; } - if (!wide_enough_for_name || !high_enough_for_name) { + if (!(visibility & ShowNameText) || (!wide_enough_for_name || !high_enough_for_name)) { name_text->hide (); return; } |