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:
Paul Davis
2024-01-10 15:49:36 -07:00
parent 69d929b9d2
commit a8895e50c7

View File

@@ -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)