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
|
|
@ -200,7 +200,7 @@ impl<'a> Content for VerticalArranger<'a, Tui> {
|
|||
let mut clip_area: Option<[u16;4]> = None;
|
||||
let area = match selected {
|
||||
ArrangementFocus::Mix => {
|
||||
if focused { to.fill_bg(area, Color::Rgb(40, 50, 30)); }
|
||||
//if focused { to.fill_bg(area, Color::Rgb(40, 50, 30)); }
|
||||
area
|
||||
},
|
||||
ArrangementFocus::Track(t) => { track_area = Some(get_track_area(t)); area },
|
||||
|
|
@ -230,6 +230,8 @@ impl<'a> Content for VerticalArranger<'a, Tui> {
|
|||
} else if let Some(scene_area) = scene_area {
|
||||
to.render_in(scene_area.clip_w(offset-1), &CORNERS)?;
|
||||
//to.fill_bg(scene_area, Color::Rgb(40, 50, 30));
|
||||
} else {
|
||||
to.render_in(area.clip_w(offset-1).clip_h(2), &CORNERS)?;
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue