From c9dda81a693ba9c06b9d62f5df56c04be75adfca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 3 Dec 2009 02:34:24 +0000 Subject: [PATCH] Move region name slightly to partially fix #2948. git-svn-id: svn://localhost/ardour2/branches/3.0@6268 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view_item.cc | 4 ++-- 1 file 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) {