13
0

Further fix to #3437 from Lincoln.

git-svn-id: svn://localhost/ardour2/branches/3.0@7755 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-09-07 23:27:10 +00:00
parent 136b8ed747
commit 23fff21f4c

View File

@ -535,6 +535,15 @@ AudioRegionView::set_height (gdouble height)
(*l).second->property_y2() = _height - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 1;
}
if (fade_position_line) {
if (height < NAME_HIGHLIGHT_THRESH) {
fade_position_line->property_y2() = _height - 1;
}
else {
fade_position_line->property_y2() = _height - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 1;
}
}
if (name_pixbuf) {
name_pixbuf->raise_to_top();
}