projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f7f9b0
)
improve comment text
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 16 Apr 2014 11:35:20 +0000
(07:35 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 16 Apr 2014 11:35:20 +0000
(07:35 -0400)
gtk2_ardour/time_axis_view_item.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/time_axis_view_item.cc
b/gtk2_ardour/time_axis_view_item.cc
index d16b7e4e4dc14477eb8a88ba2e186de280f9c49f..477d1dd70ab881566755f12722e7aa1082e6e043 100644
(file)
--- 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;
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;
if (Config->get_show_name_highlight()) {
NAME_Y_OFFSET = height + 1;
NAME_HIGHLIGHT_SIZE = height + 2;