summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-03 02:34:24 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-03 02:34:24 +0000
commitc9dda81a693ba9c06b9d62f5df56c04be75adfca (patch)
treec55ea98c99c1404a7db4320faf2c31324d1ab7a7 /gtk2_ardour/time_axis_view_item.cc
parent00617d5494985c6bbaea241c6685e0bef0d5b93e (diff)
Move region name slightly to partially fix #2948.
git-svn-id: svn://localhost/ardour2/branches/3.0@6268 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r--gtk2_ardour/time_axis_view_item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc
index 9d77229f54..fe4fc9559c 100644
--- a/gtk2_ardour/time_axis_view_item.cc
+++ b/gtk2_ardour/time_axis_view_item.cc
@@ -210,7 +210,7 @@ TimeAxisViewItem::init (
if (visibility & ShowNameText) {
name_pixbuf = new ArdourCanvas::Pixbuf(*group);
name_pixbuf->property_x() = NAME_X_OFFSET;
- name_pixbuf->property_y() = trackview.current_height() - 1.0 - NAME_Y_OFFSET;
+ name_pixbuf->property_y() = trackview.current_height() + 1 - NAME_Y_OFFSET;
} else {
name_pixbuf = 0;
@@ -576,7 +576,7 @@ TimeAxisViewItem::set_height (double height)
}
if (visibility & ShowNameText) {
- name_pixbuf->property_y() = height - 1 - NAME_Y_OFFSET;
+ name_pixbuf->property_y() = height + 1 - NAME_Y_OFFSET;
}
if (frame) {