mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
MidiView: fix display of out-of-range live (recording) notes
This involves better handling of note range changes, and also a renaming of member variables to better reflect their function. It adds _finished_live_notes to hold notes that were recorded live but have ended, since these also need to be updated as zooming or note range changes
This commit is contained in:
parent
68c69fb89d
commit
a0302bd7fc
3 changed files with 129 additions and 74 deletions
|
|
@ -434,7 +434,7 @@ MidiStreamView::update_rec_box ()
|
|||
region->set_length (timecnt_t (_trackview.track()->current_capture_end () - _trackview.track()->current_capture_start()));
|
||||
|
||||
MidiRegionView* mrv = dynamic_cast<MidiRegionView*> (rec_regions.back().second);
|
||||
mrv->extend_active_notes ();
|
||||
mrv->extend_unfinished_live_notes ();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue