Fix overlapping resolution (see issue #177)
It assumes that a note ending at the same time of another one starting is not considered overlapping.
This commit is contained in:
parent
3a6f62d238
commit
742d176479
@ -1665,9 +1665,9 @@ MidiModel::resolve_overlaps_unlocked (const NotePtr note, void* arg)
|
||||
|
||||
if ((sb > sa) && (eb <= ea)) {
|
||||
overlap = OverlapInternal;
|
||||
} else if ((eb >= sa) && (eb <= ea)) {
|
||||
} else if ((eb > sa) && (eb <= ea)) {
|
||||
overlap = OverlapStart;
|
||||
} else if ((sb > sa) && (sb <= ea)) {
|
||||
} else if ((sb > sa) && (sb < ea)) {
|
||||
overlap = OverlapEnd;
|
||||
} else if ((sa >= sb) && (sa <= eb) && (ea <= eb)) {
|
||||
overlap = OverlapExternal;
|
||||
|
Loading…
Reference in New Issue
Block a user