arranger (sorta. sizing woes)

This commit is contained in:
🪞👃🪞 2025-05-14 22:37:14 +03:00
parent 2013bac62f
commit 182107bfa5
4 changed files with 8 additions and 19 deletions

View file

@ -70,15 +70,6 @@ impl Arrangement {
pub fn h (&self) -> u16 {
self.size.h() as u16
}
/// Height available to display track headers.
pub fn h_tracks_area (&self) -> u16 {
5 // FIXME
//self.h().saturating_sub(self.h_inputs() + self.h_outputs())
}
/// Height available to display tracks.
pub fn h_scenes_area (&self) -> u16 {
20 // FIXME
}
/// Height taken by all scenes.
pub fn h_scenes (&self, is_editing: bool) -> u16 {
self.scenes_with_sizes(