fix layout overflow of Stack component

This commit is contained in:
🪞👃🪞 2024-10-06 06:52:03 +03:00
parent c24f9a9eb5
commit 39edaea47c
3 changed files with 31 additions and 37 deletions

View file

@ -16,9 +16,9 @@ impl Content for Arranger<Tui> {
add(&arrangement.split(
direction,
20,
self.phrases.clone().debug()
.split(direction.ccw(), 20, sequencer.debug())
.min_y(20)).debug())
self.phrases.clone()
.split(direction.ccw(), 20, sequencer)
.min_y(20)).fill_y())
} else {
add(&self.arrangement)
}
@ -29,7 +29,7 @@ impl Content for Arranger<Tui> {
//add(modal as &dyn Widget<Engine = Tui>)?;
}
Ok(())
}).debug()
})
}
}