mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +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)?;
|
"┊".blit(buf, x, y + 1, style)?;
|
||||||
label.blit(buf, x, y, style)?;
|
label.blit(buf, x, y, style)?;
|
||||||
if self.selected == ArrangerFocus::Clip(track_index, scene_index) {
|
if self.selected == ArrangerFocus::Clip(track_index, scene_index) {
|
||||||
let y = area.y;
|
fill_bg(buf, Rect { x, y, width, height: 2 }, bg)
|
||||||
fill_bg(buf, Rect { x, y, width, height: 1 }, bg)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if self.selected == ArrangerFocus::Track(track_index) {
|
if self.selected == ArrangerFocus::Track(track_index) {
|
||||||
let y = 1 + area.y + 2 * track_index as u16;
|
fill_bg(buf, Rect { x, y: area.y, width, height: 1 }, bg)
|
||||||
fill_bg(buf, Rect { x, y, width, height: 2 }, bg)
|
|
||||||
}
|
}
|
||||||
x = x + width as u16;
|
x = x + width as u16;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue