rename Split to Stack

This commit is contained in:
🪞👃🪞 2024-09-28 02:56:32 +03:00
parent 2adf0028c3
commit e555074bdf
8 changed files with 42 additions and 42 deletions

View file

@ -33,7 +33,7 @@ impl<E: Engine> Audio for Mixer<E> {
impl Content for Mixer<Tui> {
type Engine = Tui;
fn content (&self) -> impl Widget<Engine = Tui> {
Split::right(|add| {
Stack::right(|add| {
for channel in self.tracks.iter() {
add(channel)?;
}

View file

@ -188,7 +188,7 @@ impl<'a> Widget for TrackView<'a, Tui> {
//_ => { unimplemented!() },
//}
//to.fill_bg(to.area(), Nord::bg_lo(self.focused, self.entered));
//let mut split = Split::new(self.direction);
//let mut split = Stack::new(self.direction);
//for device in chain.devices.as_slice().iter() {
//split = split.add_ref(device);
//}