Quantize MIDI Event Ends cancels Legato and retracts notes to shortest possible length

Steps to reproduce:

  1. Record a melodic line where notes are separated from each other.
  2. Quantize the material.
  3. Run “Legato” command on the selection
  4. Run “Quantize MIDI Event Ends” on the selection
  5. Observe that the Legato length is retracted to original length and then quantized.

Expected behaviour: If note lenghts have been altered using the “Legato” command, when doing anything to the lenghts of the notes (Quantize MIDI Event Ends) it should not revert to earlier lenghts and then apply quantize.

Actual behaviour: Note lenghts are reset before Quantize MIDI Event Ends is applied.

Workaround:
Create LE-presets first extending and then retracting the note length with a fixed value, and add that to a macro that is run before the Quantize MIDI Event Ends is run. That way, the new lenghts applied by legato is “cemented”. It can also be run as part of the Legato macro so it’s cemented while creating the legato lenghts.