improve comment text

This commit is contained in:
Paul Davis
2014-04-16 07:35:20 -04:00
parent 0f7f9b068c
commit 78bab09e98

View File

@@ -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;