wip: fixed piano

This commit is contained in:
🪞👃🪞 2025-01-10 20:24:48 +01:00
parent 86188b59db
commit 1b82a957aa
9 changed files with 100 additions and 105 deletions

View file

@ -39,7 +39,7 @@ has_size!(<TuiOut>|self: MidiEditor|&self.size);
render!(TuiOut: (self: MidiEditor) => {
self.autoscroll();
//self.autozoom();
Fill::xy(Bsp::b(&self.size, &self.mode))
self.size.of(&self.mode)
});
impl TimeRange for MidiEditor {
fn time_len (&self) -> &AtomicUsize { self.mode.time_len() }