fix 03c4335c1e to use the correct test for zero length
That commit used the dangerous Beats::operator== (int) comparison, which only campares the beat portion
This commit is contained in:
@@ -1759,7 +1759,7 @@ MidiRegionView::update_sustained (Note* ev, bool update_ghost_regions)
|
||||
const double y0 = 1 + floor(note_to_y(note->note()));
|
||||
double y1;
|
||||
|
||||
if (note->length() == 0) {
|
||||
if (note->length() == Temporal::Beats()) {
|
||||
|
||||
/* special case actual zero-length notes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user