editor: add fine time step and overflow

This commit is contained in:
🪞👃🪞 2025-05-11 19:19:14 +03:00
parent d647fc68e9
commit d1be569b48
3 changed files with 18 additions and 3 deletions

View file

@ -61,7 +61,7 @@ impl MidiEditor {
clip.notes[note_end].push(note_off);
}
if advance {
self.set_time_pos(note_end + 1);
self.set_time_pos((note_end + 1) % clip.length);
}
redraw = true;
}