mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
don't overlay with bright green
This commit is contained in:
parent
9abd0b7c50
commit
66483f8371
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue