replug is_editing()

This commit is contained in:
🪞👃🪞 2025-05-17 13:32:53 +03:00
parent c7e7c9f68c
commit 5ff6868a17
2 changed files with 28 additions and 31 deletions

View file

@ -77,14 +77,6 @@ impl Arrangement {
pub fn h (&self) -> u16 {
self.size.h() as u16
}
/// Height taken by all inputs.
pub fn h_inputs (&self) -> u16 {
self.midi_ins_with_sizes().last().map(|(_, _, _, _, y)|y as u16).unwrap_or(0)
}
/// Height taken by all outputs.
pub fn h_outputs (&self) -> u16 {
self.midi_outs_with_sizes().last().map(|(_, _, _, _, y)|y as u16).unwrap_or(0)
}
/// Height taken by visible device slots.
pub fn h_devices (&self) -> u16 {
2