remove LayoutSplit; merge split and bsp modules

This commit is contained in:
🪞👃🪞 2024-12-30 12:54:19 +01:00
parent 0c9c386a79
commit 35a88cb70f
8 changed files with 117 additions and 154 deletions

View file

@ -132,7 +132,7 @@ render!(<Tui>|self:Groovebox|{
PhraseSelector::next_phrase(&self.player),
]))),
row!([
Tui::split_n(false, 9,
Split::n(false, 9,
col!([
row!(|add|{
if let Some(sample) = &self.sampler.mapped[note_pt] {
@ -152,9 +152,9 @@ render!(<Tui>|self:Groovebox|{
})),
]),
]),
Tui::split_w(false, pool_w,
Split::w(false, pool_w,
Tui::pull_y(1, Fill::h(Align::e(PoolView(&self.pool)))),
Tui::split_e(false, sampler_w, Fill::wh(col!([
Split::e(false, sampler_w, Fill::wh(col!([
Meters(self.sampler.input_meter.as_ref()),
GrooveboxSamples(self),
])), Fill::h(&self.editor))