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 e33ade0116
commit 96a35e67a5
1 changed files with 1 additions and 2 deletions

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)