mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
use stack in view_inputs
This commit is contained in:
parent
50c263b4d3
commit
958e602577
3 changed files with 61 additions and 49 deletions
|
|
@ -127,11 +127,10 @@ impl App {
|
|||
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_outputs(self.color))
|
||||
self.project.view_outputs(self.color)
|
||||
}
|
||||
pub fn view_tracks_devices <'a> (&'a self) -> impl Content<TuiOut> + use<'a> {
|
||||
Fixed::y(2, self.project.view_track_devices(self.color))
|
||||
Fixed::y(4, self.project.view_track_devices(self.color))
|
||||
}
|
||||
pub fn view_tracks_names <'a> (&'a self) -> impl Content<TuiOut> + use<'a> {
|
||||
Fixed::y(2, self.project.view_track_names(self.color))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue