mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Move region name slightly to partially fix #2948.
git-svn-id: svn://localhost/ardour2/branches/3.0@6268 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
00617d5494
commit
c9dda81a69
1 changed files with 2 additions and 2 deletions
|
|
@ -210,7 +210,7 @@ TimeAxisViewItem::init (
|
||||||
if (visibility & ShowNameText) {
|
if (visibility & ShowNameText) {
|
||||||
name_pixbuf = new ArdourCanvas::Pixbuf(*group);
|
name_pixbuf = new ArdourCanvas::Pixbuf(*group);
|
||||||
name_pixbuf->property_x() = NAME_X_OFFSET;
|
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 {
|
} else {
|
||||||
name_pixbuf = 0;
|
name_pixbuf = 0;
|
||||||
|
|
@ -576,7 +576,7 @@ TimeAxisViewItem::set_height (double height)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (visibility & ShowNameText) {
|
if (visibility & ShowNameText) {
|
||||||
name_pixbuf->property_y() = height - 1 - NAME_Y_OFFSET;
|
name_pixbuf->property_y() = height + 1 - NAME_Y_OFFSET;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frame) {
|
if (frame) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue