summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-04-16 07:35:20 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-04-16 07:35:20 -0400
commit78bab09e98e03f23b3da4d51855e3a0c6b0bb21b (patch)
treefca0103c56c50d6d39fc5fbe528f18aa6370d92f /gtk2_ardour/time_axis_view_item.cc
parent0f7f9b068c6253f6a45c4e86f608b277c5a5f808 (diff)
improve comment text
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r--gtk2_ardour/time_axis_view_item.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc
index d16b7e4e4d..477d1dd70a 100644
--- a/gtk2_ardour/time_axis_view_item.cc
+++ b/gtk2_ardour/time_axis_view_item.cc
@@ -89,9 +89,13 @@ TimeAxisViewItem::set_constant_heights ()
layout = foo.create_pango_layout (X_("H")); /* just the ascender */
NAME_HEIGHT = height;
- /* Ardour: Y_OFFSET is measured from bottom of the time axis view item.
- TRX: Y_OFFSET is measured from the top of the time axis view item.
+
+ /* Config->get_show_name_highlight) == true:
+ Y_OFFSET is measured from bottom of the time axis view item.
+ Config->get_show_name_highlight) == false:
+ Y_OFFSET is measured from the top of the time axis view item.
*/
+
if (Config->get_show_name_highlight()) {
NAME_Y_OFFSET = height + 1;
NAME_HIGHLIGHT_SIZE = height + 2;