I found some bugs in the inline midi editor.
1. Duplication with CTRL-D shortcut and undo
When undoing the inline midi editor is off.
When I move, everything is fine:
2. Zooming and duplicate with CTRL-D shortcut
Zoom is removed.
3. Zoom in and move:
Zoom is removed.