Quantization the end of midi notes

Hi. Tell me who knows how to change the quantization, the end of midi notes.

https://youtu.be/9bXnYLps8WY

Found, it was necessary to include the length of the quantization. Key editor, right mouse button at the top of the panel, Length Quantize.