mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
don't display notes that start at region end.
- its not obvious that this is happening in sustained mode, but Percussive reveals all.
This commit is contained in:
parent
a14c577b8a
commit
766fa9aa5b
1 changed files with 1 additions and 1 deletions
|
|
@ -1675,7 +1675,7 @@ MidiRegionView::note_in_region_range (const boost::shared_ptr<NoteType> note, bo
|
|||
|
||||
/* must compare double explicitly as Beats::operator< rounds to ppqn */
|
||||
const bool outside = (note->time().to_double() < midi_reg->start_beats() ||
|
||||
note->time().to_double() > midi_reg->start_beats() + midi_reg->length_beats());
|
||||
note->time().to_double() >= midi_reg->start_beats() + midi_reg->length_beats());
|
||||
|
||||
visible = (note->note() >= midi_stream_view()->lowest_note()) &&
|
||||
(note->note() <= midi_stream_view()->highest_note());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue