diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-07 23:27:10 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-07 23:27:10 +0000 |
commit | 23fff21f4c70eae1292f942f740e716790e9b739 (patch) | |
tree | 92000a46b80f5d6dc5cb71ca4e13bfcd52c790ef /gtk2_ardour/audio_region_view.cc | |
parent | 136b8ed74721957e9617885fe156e6b8657116bd (diff) |
Further fix to #3437 from Lincoln.
git-svn-id: svn://localhost/ardour2/branches/3.0@7755 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_view.cc')
-rw-r--r-- | gtk2_ardour/audio_region_view.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index eea8289379..86e34b9488 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -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(); } |