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:
parent
7ddbc547d5
commit
c15f5d24fd
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user