mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
update layout macro invocations
This commit is contained in:
parent
e677d1d7d4
commit
83eb9dd2fa
19 changed files with 153 additions and 169 deletions
|
|
@ -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!(
|
||||
//" ",
|
||||
|
|
@ -84,13 +84,13 @@ render!(Tui: (self: PianoHorizontal) => {
|
|||
)),
|
||||
Bsp::e(
|
||||
Fixed::x(self.keys_width, keys()),
|
||||
Fill::xy(lay!([
|
||||
Fill::xy(lay!(
|
||||
&self.size,
|
||||
Fill::xy(lay!(
|
||||
Fill::xy(notes()),
|
||||
Fill::xy(cursor()),
|
||||
))
|
||||
])),
|
||||
)),
|
||||
),
|
||||
)))
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue