mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
fix arranger highlight
This commit is contained in:
parent
99a9a17524
commit
a017d2ca51
1 changed files with 2 additions and 4 deletions
|
|
@ -77,13 +77,11 @@ impl Arranger {
|
|||
"┊".blit(buf, x, y + 1, style)?;
|
||||
label.blit(buf, x, y, style)?;
|
||||
if self.selected == ArrangerFocus::Clip(track_index, scene_index) {
|
||||
let y = area.y;
|
||||
fill_bg(buf, Rect { x, y, width, height: 1 }, bg)
|
||||
fill_bg(buf, Rect { x, y, width, height: 2 }, bg)
|
||||
}
|
||||
}
|
||||
if self.selected == ArrangerFocus::Track(track_index) {
|
||||
let y = 1 + area.y + 2 * track_index as u16;
|
||||
fill_bg(buf, Rect { x, y, width, height: 2 }, bg)
|
||||
fill_bg(buf, Rect { x, y: area.y, width, height: 1 }, bg)
|
||||
}
|
||||
x = x + width as u16;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue