13
0

Fix region positions when switching from stacked to overlaid display.

git-svn-id: svn://localhost/ardour2/branches/3.0@4341 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2008-12-23 14:05:37 +00:00
parent 7ddbc547d5
commit c15f5d24fd

View File

@ -431,6 +431,7 @@ StreamView::update_contents_height ()
for (RegionViewList::iterator i = region_views.begin(); i != region_views.end(); ++i) { for (RegionViewList::iterator i = region_views.begin(); i != region_views.end(); ++i) {
switch (layer_display) { switch (layer_display) {
case Overlaid: case Overlaid:
(*i)->set_y (0);
(*i)->set_height (height); (*i)->set_height (height);
break; break;
case Stacked: case Stacked: