mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
arranger: trim scenes/tracks more harshly
favor empty space over overlap. later centered and/or partial.
This commit is contained in:
parent
aeb1f7a9e0
commit
4f575246ef
3 changed files with 72 additions and 18 deletions
|
|
@ -115,10 +115,10 @@ impl App {
|
|||
)
|
||||
}
|
||||
pub fn view_tracks_inputs <'a> (&'a self) -> impl Content<TuiOut> + use<'a> {
|
||||
Fixed::y(2, self.project.view_track_inputs(self.color))
|
||||
Fixed::y(2 + self.project.midi_ins.len() as u16, self.project.view_inputs(self.color))
|
||||
}
|
||||
pub fn view_tracks_outputs <'a> (&'a self) -> impl Content<TuiOut> + use<'a> {
|
||||
Fixed::y(1 + self.project.midi_outs.len() as u16, self.project.view_track_outputs(self.color, self.midi_outs().len().min(24) as u16))
|
||||
Fixed::y(1 + self.project.midi_outs.len() as u16, self.project.view_outputs(self.color))
|
||||
}
|
||||
pub fn view_tracks_devices <'a> (&'a self) -> impl Content<TuiOut> + use<'a> {
|
||||
Fixed::y(3, self.project.view_track_devices(self.color))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue