wip: big flat pt.12, down to 1 error

This commit is contained in:
🪞👃🪞 2024-12-30 21:38:41 +01:00
parent b718e54d33
commit e21ef1af94
9 changed files with 53 additions and 30 deletions

View file

@ -135,6 +135,14 @@ impl Content<Tui> for Box<dyn PhraseViewMode> {
Some(&(*self))
}
}
impl Render<Tui> for Box<dyn PhraseViewMode> {
fn min_size (&self, to: [u16;2]) -> Perhaps<[u16;2]> {
self.content().unwrap().min_size(to)
}
fn render (&self, to: &mut TuiOutput) -> Usually<()> {
self.content().unwrap().render(to)
}
}
impl MidiView<Tui> for MidiEditor {}