update layout macro invocations

This commit is contained in:
🪞👃🪞 2024-12-31 04:37:45 +01:00
parent e677d1d7d4
commit 83eb9dd2fa
19 changed files with 153 additions and 169 deletions

View file

@ -223,7 +223,7 @@ render!(Tui: (self: PoolView<'a>) => {
length.focus = Some(*focus);
}
}
add(&Tui::bg(color.base.rgb, Fill::x(col!([
add(&Tui::bg(color.base.rgb, Fill::x(col!(
Fill::x(lay!(|add|{
add(&Fill::x(Align::w(format!(" {i}"))))?;
add(&Fill::x(Align::e(Pull::x(1, length.clone()))))
@ -237,7 +237,7 @@ render!(Tui: (self: PoolView<'a>) => {
};
row2
}),
]))))?;
))))?;
if i == self.0.phrase_index() {
add(&CORNERS)?;
}