down to 15e

This commit is contained in:
🪞👃🪞 2024-12-31 16:23:10 +01:00
parent 16e6a0397c
commit 1de163d0d3
7 changed files with 67 additions and 65 deletions

View file

@ -61,7 +61,7 @@ render!(Tui: (self: PianoHorizontal) => {
};
let field = move|x, y|row!(
Tui::fg_bg(color.lighter.rgb, color.darker.rgb, Tui::bold(true, x)),
Tui::fg_bg(color.lighter.rgb, color.dark.rgb, &y),
Tui::fg_bg(color.lighter.rgb, color.dark.rgb, y),
);
let keys_width = 5;
let keys = move||PianoHorizontalKeys(self);
@ -69,7 +69,7 @@ render!(Tui: (self: PianoHorizontal) => {
let notes = move||PianoHorizontalNotes(self);
let cursor = move||PianoHorizontalCursor(self);
let border = Fill::xy(Outer(Style::default().fg(self.color.dark.rgb).bg(self.color.darkest.rgb)));
let with_border = |x|lay!(border, Padding::xy(0, 0, &x));
let with_border = |x|lay!(border, Padding::xy(0, 0, x));
with_border(lay!(
Push::x(0, row!(
//" ",