mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
down to 15e
This commit is contained in:
parent
16e6a0397c
commit
1de163d0d3
7 changed files with 67 additions and 65 deletions
|
|
@ -50,8 +50,8 @@ render!(Tui: (self: SamplerTui) => {
|
|||
let fg = self.color.base.rgb;
|
||||
let bg = self.color.darkest.rgb;
|
||||
let border = Fill::xy(Outer(Style::default().fg(fg).bg(bg)));
|
||||
let with_border = |x|lay!(border, Fill::xy(&x));
|
||||
let with_size = |x|lay!(self.size, x);
|
||||
let with_border = |x|lay!(border, Fill::xy(x));
|
||||
let with_size = |x|lay!(self.size.clone(), x);
|
||||
Tui::bg(bg, Fill::xy(with_border(Bsp::s(
|
||||
Tui::fg(self.color.light.rgb, Tui::bold(true, &"Sampler")),
|
||||
with_size(Shrink::y(1, Bsp::e(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue