2-line transport bar on narrow screen

This commit is contained in:
🪞👃🪞 2024-07-06 21:30:19 +03:00
parent 672d81f353
commit 61af72c281
2 changed files with 30 additions and 21 deletions

View file

@ -26,7 +26,7 @@ impl<'a> Render for ChainView<'a> {
);
}
lozenge_left(buf, x, y, height, style);
let (area, _plugins) = if let Some(ref chain) = self.track {
let (area, _plugins) = if self.track.is_some() {
if self.vertical {
self.draw_as_column(buf, area, style)?
} else {