mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
don't alter saturation
This commit is contained in:
parent
87379ff76b
commit
bab0235c20
2 changed files with 6 additions and 9 deletions
|
|
@ -32,8 +32,7 @@ impl Content for PhrasePool<Tui> {
|
|||
if *focused && i == *phrase { row2 = format!("{row2}▄"); }
|
||||
};
|
||||
let row2 = TuiStyle::bold(row2, true);
|
||||
let bg = if i == self.phrase { color.base } else { color.light };
|
||||
add(&col!(row1, row2).fill_x().bg(bg.rgb))?;
|
||||
add(&col!(row1, row2).fill_x().bg(color.base.rgb))?;
|
||||
Ok(if *focused && i == self.phrase { add(&CORNERS)?; })
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue