Fix behavior of midi region when height changes
MidiView cares about the previous height, so call that first, before RegionView::set_height() sets the member that controls height()
This commit is contained in:
parent
e33ade0116
commit
96a35e67a5
|
@ -685,9 +685,8 @@ MidiRegionView::reset_width_dependent_items (double pixel_width)
|
|||
void
|
||||
MidiRegionView::set_height (double height)
|
||||
{
|
||||
double old_height = _height;
|
||||
RegionView::set_height(height);
|
||||
MidiView::set_height (height);
|
||||
RegionView::set_height(height);
|
||||
}
|
||||
void
|
||||
MidiRegionView::set_selected (bool selected)
|
||||
|
|
Loading…
Reference in New Issue