wip: now just gotta fix 26 type errors

This commit is contained in:
🪞👃🪞 2025-05-08 17:43:42 +03:00
parent ee7f9dcf12
commit 16d267523b
6 changed files with 259 additions and 209 deletions

View file

@ -53,9 +53,9 @@ impl MidiEditor {
let mut redraw = false;
if let Some(clip) = self.clip() {
let mut clip = clip.write().unwrap();
let note_start = self.time_pos();
let note_pos = self.note_pos();
let note_len = self.note_len();
let note_start = self.get_time_pos();
let note_pos = self.get_note_pos();
let note_len = self.get_note_len();
let note_end = note_start + (note_len.saturating_sub(1));
let key: u7 = u7::from(note_pos as u8);
let vel: u7 = 100.into();