don't overlay with bright green

This commit is contained in:
🪞👃🪞 2024-10-19 01:53:39 +03:00
parent 9abd0b7c50
commit 66483f8371
2 changed files with 4 additions and 2 deletions

View file

@ -64,7 +64,7 @@ impl Content for PhraseEditor<Tui> {
let offset = Self::H_KEYS_OFFSET as u16;
let color = Color::Rgb(0,255,0);
let color = phrase.as_ref().map(|p|p.read().unwrap().color).unwrap_or(color);
let keys = CustomWidget::new(|_|Ok(Some([32u16,4u16])), move|to: &mut TuiOutput|{
let keys = CustomWidget::new(|_|Ok(Some([32u16,0u16])), move|to: &mut TuiOutput|{
if to.area().h() >= 2 {
to.buffer_update(to.area().set_w(5), &|cell, x, y|{
let y = y + note_axis.start as u16;