fix transport display

This commit is contained in:
🪞👃🪞 2024-07-11 17:38:50 +03:00
parent 888ed642d0
commit a39e694a3e
2 changed files with 22 additions and 15 deletions

View file

@ -60,7 +60,7 @@ impl<'a> ArrangerView<'a> {
Color::Reset
});
if self.focused && self.entered {
QuarterV(Style::default().green().dim()).draw(buf, Rect { x, y, width, height });
QuarterV(Style::default().green().dim()).draw(buf, Rect { x, y, width, height })?;
//lozenge_left(buf, x, y, height, style);
//lozenge_right(buf, x + width - 1, y, height, style);
}
@ -78,11 +78,8 @@ impl<'a> ArrangerView<'a> {
break
}
if focus_column {
fill_bg(
buf,
Rect { x: x2, y, width: *w, height },
bg_color
);
let bg_area = Rect { x: x2, y, width: *w, height };
fill_bg(buf, bg_area, bg_color);
}
x2 = x2 + w;
}