fix warnings, cleanup

This commit is contained in:
i do not exist 2026-08-12 18:59:19 +03:00
parent 406aabde6e
commit da2099c52e
10 changed files with 379 additions and 450 deletions

View file

@ -236,7 +236,6 @@ impl MidiEditor {
self.mode.redraw();
}
}
fn _todo_opt_clip_stub (&self) -> Option<Arc<RwLock<MidiClip>>> { todo!() }
fn clip_length (&self) -> usize { self.clip().as_ref().map(|p|p.read().unwrap().length).unwrap_or(1) }
fn note_length (&self) -> usize { self.get_note_len() }
fn note_pos (&self) -> usize { self.get_note_pos() }