mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
down to 15e
This commit is contained in:
parent
16e6a0397c
commit
1de163d0d3
7 changed files with 67 additions and 65 deletions
|
|
@ -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!(
|
||||
//" ",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue